File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments