Skip to content

Commit 587fcc5

Browse files
committed
fix(scripts): escape "double quotes"
1 parent fa55c04 commit 587fcc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/ci/codegen/pushGeneratedCode.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export async function pushGeneratedCode(): Promise<void> {
4444
await run(`git push -d origin generated/${baseBranch} || true`);
4545

4646
console.log(`Creating branch for generated code: '${branchToPush}'`);
47-
await run(`git checkout -b ${branchToPush}`);
47+
await run(`git checkout -B ${branchToPush}`);
4848
}
4949

5050
if (!(await isUpToDate(baseBranch))) {
@@ -55,7 +55,7 @@ export async function pushGeneratedCode(): Promise<void> {
5555
}
5656

5757
const skipCi = isMainBranch ? '[skip ci]' : '';
58-
let message = await run(`git show -s ${baseBranch} --format="%s ${text.commitEndMessage} ${skipCi}"`);
58+
let message = await run(`git show -s ${baseBranch} --format=%s ${text.commitEndMessage} ${skipCi}"`);
5959
const authors = await run(
6060
`git show -s ${baseBranch} --format="
6161

0 commit comments

Comments
 (0)