Skip to content
Snippets Groups Projects
Commit 3fec3a73 authored by David Baker's avatar David Baker
Browse files

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

parent e5e4e901
Branches
Tags
No related merge requests found
...@@ -18,7 +18,7 @@ var skin = args._[0]; ...@@ -18,7 +18,7 @@ var skin = args._[0];
try { try {
fs.accessSync(path.join('src', 'skins', skin), fs.F_OK); fs.accessSync(path.join('src', 'skins', skin), fs.F_OK);
} catch (e) { } catch (e) {
console.log("Skin "+skin+" not found"); console.log("Skin "+skin+" not found: "+e);
process.exit(1); process.exit(1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment