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 {