From 3ac71ef3a9db357536cf0c275938d9ef93dcdbb9 Mon Sep 17 00:00:00 2001 From: Natalie Carey Date: Tue, 24 Jan 2023 11:52:46 +0000 Subject: [PATCH] Fixing create message - init needs to be handled seperately to create. --- bin/cli | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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)