diff --git a/bin/cli b/bin/cli index 5d2a6e5d5b..3df219cf96 100755 --- a/bin/cli +++ b/bin/cli @@ -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)