From 008078c958058f8285afc24da788c726d5ad84c5 Mon Sep 17 00:00:00 2001 From: sarahCx Date: Sun, 12 Jan 2025 21:56:55 +0200 Subject: [PATCH] Update 10.localBranch.test.ts --- src/test/10.localBranch.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +});