mirror of
https://github.com/sbrl/terrain50-cli.git
synced 2024-10-31 03:43:01 +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);
|
||||
}
|
||||
|
||||
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).`);
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue