mirror of
https://github.com/sbrl/terrain50-cli.git
synced 2024-11-26 07:33:00 +00:00
image: don't check for file existence for -
This commit is contained in:
parent
9e47a12b12
commit
125192ebfa
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ export default async function(settings) {
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!fs.existsSync(settings.cli.input)) {
|
if(settings.cli.input !== "-" && !fs.existsSync(settings.cli.input)) {
|
||||||
l.error(`Error: The specified input file '${settings.cli.input}' does not exist (check the spelling and permissions).`);
|
l.error(`Error: The specified input file '${settings.cli.input}' does not exist (check the spelling and permissions).`);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue