From 3abdef5c0d42766ec7bc823d7024160fdabb314c Mon Sep 17 00:00:00 2001 From: Darren Miller Date: Thu, 25 Apr 2024 10:39:19 -0700 Subject: [PATCH] Add quotes to project name in cli call --- src/app/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/index.ts b/src/app/index.ts index c951cbbc..01ccd3dc 100755 --- a/src/app/index.ts +++ b/src/app/index.ts @@ -365,7 +365,7 @@ module.exports = class extends yo { await helperMethods.downloadProjectTemplateZipFile(this.destinationPath(), projectRepoBranchInfo.repo, projectRepoBranchInfo.branch); // Call 'convert-to-single-host' npm script in generated project, passing in host parameter - const cmdLine = `npm run convert-to-single-host --if-present -- ${_.toLower(this.project.hostInternalName)} ${this.project.manifestType} ${this.project.name}`; + const cmdLine = `npm run convert-to-single-host --if-present -- ${_.toLower(this.project.hostInternalName)} ${this.project.manifestType} "${this.project.name}"`; await childProcessExec(cmdLine); } else {