Use `1.0.0` as the default app version.

Change the default version number returned when the version number
cannot be read from `package.json` in CWD.
This commit is contained in:
Miroslav Bajtoš 2014-10-13 17:27:52 +02:00
parent 622f6176f3
commit be36f11629
1 changed files with 5 additions and 5 deletions

View File

@ -156,7 +156,7 @@ function getVersion() {
try {
version = require(path.join(process.cwd(), 'package.json')).version;
} catch(e) {
version = '';
version = '1.0.0';
}
return version;
}