diff --git a/src/test/10.localBranch.test.ts b/src/test/10.localBranch.test.ts index 63324fada..8762e51e2 100644 --- a/src/test/10.localBranch.test.ts +++ b/src/test/10.localBranch.test.ts @@ -63,7 +63,7 @@ describe("Using a local branch if Git exists", () => { } catch (error) { gitExistedBefore = false; execSync("git init"); - execSync("git commit --allow-empty -m 'Initial commit'"); + execSync("git commit --allow-empty -m \"Initial commit\""); } switchToBranch(branchName); @@ -155,4 +155,4 @@ describe("Using a local branch if Git exists", () => { expect(scanResults).not.to.be.undefined; }, 3)); -}); \ No newline at end of file +});