Skip to content

Commit

Permalink
fix(CLI): Do not recomment frameworkVersion when running pre release
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Nov 5, 2021
1 parent 6a2be57 commit 53490a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/classes/Service.js
Expand Up @@ -145,7 +145,7 @@ class Service {
);
ymlVersion = null;
}
if (!this.isLocallyInstalled && !ymlVersion) {
if (!this.isLocallyInstalled && !ymlVersion && !semver.parse(version).prerelease.length) {
log.info(
'To ensure safe major version upgrades ensure "frameworkVersion" setting in ' +
'service configuration ' +
Expand Down

0 comments on commit 53490a5

Please sign in to comment.