Skip to content

Commit

Permalink
fixup! C3 - ensure shell commands in logging are reasonably quoted
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Nov 24, 2023
1 parent 799d3fa commit aed7c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-cloudflare/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ export function quoteShellArgs(args: string[]): string {
if (process.platform !== "win32") {
return quote(args);
} else {
// Simple quoting if there is a space (doesn't handle quotes and spaces together)
// Simple Windows command prompt quoting if there are special characters.
const specialCharsMatcher = /[&<>[\]|{}^=;!'+,`~\s]/;
return args
.map((arg) =>
Expand Down

0 comments on commit aed7c14

Please sign in to comment.