Better error message if there is no accessSync (which there isn't on old node)

pull/21833/head
David Baker 2015-11-03 18:29:49 +00:00
parent e5e4e901d8
commit 3fec3a7326
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}