parent
8b65d37861
commit
8c3116851d
1 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,9 @@ for packagePath in searchPaths
|
||||||
catch e
|
catch e
|
||||||
continue
|
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.
|
# Set application's version.
|
||||||
app.setVersion packageJson.version if packageJson.version?
|
app.setVersion packageJson.version if packageJson.version?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue