parent
8b65d37861
commit
8c3116851d
1 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,9 @@ for packagePath in searchPaths
|
|||
catch e
|
||||
continue
|
||||
|
||||
throw new Error("Unable to find a valid app") unless packageJson?
|
||||
unless packageJson?
|
||||
process.nextTick -> process.exit 1
|
||||
throw new Error("Unable to find a valid app")
|
||||
|
||||
# Set application's version.
|
||||
app.setVersion packageJson.version if packageJson.version?
|
||||
|
|
Loading…
Reference in a new issue