From 3fec3a7326a995299c0f26f2e867d5880ee303c0 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 3 Nov 2015 18:29:49 +0000 Subject: [PATCH] Better error message if there is no accessSync (which there isn't on old node) --- reskindex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reskindex.js b/reskindex.js index f8d45493d3..e028979122 100755 --- a/reskindex.js +++ b/reskindex.js @@ -18,7 +18,7 @@ var skin = args._[0]; try { fs.accessSync(path.join('src', 'skins', skin), fs.F_OK); } catch (e) { - console.log("Skin "+skin+" not found"); + console.log("Skin "+skin+" not found: "+e); process.exit(1); }