Skip to content

Commit

Permalink
fix: cannot update issue (fix #607)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Dec 10, 2021
1 parent 8d1dc40 commit dd96390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/app/index.js
Expand Up @@ -81,7 +81,7 @@ class NgxGenerator extends Generator {
}

if (fromVersion) {
if (fromVersion >= this.version) {
if (semver.gte(fromVersion, this.version)) {
this.log(chalk.green('\nNothing to update, it’s all good!\n'));
// eslint-disable-next-line unicorn/no-process-exit
process.exit(0);
Expand Down

0 comments on commit dd96390

Please sign in to comment.