Skip to content

Commit

Permalink
Merge pull request #825 from OfficeDev/user/darrmill/quote-convert-ca…
Browse files Browse the repository at this point in the history
…ll-argument

Add quotes to project name in cli call
  • Loading branch information
millerds committed Apr 25, 2024
2 parents 1b1bff6 + 3abdef5 commit 9c09081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9c09081

Please sign in to comment.