Skip to content

Commit

Permalink
Fixing create message - init needs to be handled seperately to create.
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliecarey committed Jan 24, 2023
1 parent 5f2a89e commit 3ac71ef
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions bin/cli
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ const verboseLogger = !argv.options.verbose
}

const progressLogger = function () {
const versionOfInstaller = argv.options['created-from-version']
if (!versionOfInstaller) {
return
}
const version = splitSemverVersion(versionOfInstaller)
if (version.major === 13 && version.minor < 2) {
return
if (argv.command === 'init') {
const versionOfInstaller = argv.options['created-from-version']
if (!versionOfInstaller) {
return
}
const version = splitSemverVersion(versionOfInstaller)
if (version.major === 13 && version.minor < 2) {
return
}
}

console.log(' - ', ...arguments)
Expand Down

0 comments on commit 3ac71ef

Please sign in to comment.