From 0ad4e8314a4a403dda0d98ea0391efd171b9525c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=8A=D9=88=D8=B3=D9=81=20=D8=A7=D9=84=D8=A3=D9=88=D8=B3?= =?UTF-8?q?=D9=8A?= Date: Tue, 14 Feb 2023 16:03:31 +1000 Subject: [PATCH] Update execSync command to use backticks instead of single quotes. --- aicommits.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aicommits.ts b/aicommits.ts index 007db34..6c889a2 100644 --- a/aicommits.ts +++ b/aicommits.ts @@ -28,7 +28,7 @@ export async function main() { } const diff = execSync( - "git diff --cached . ':(exclude)package-lock.json' ':(exclude)yarn.lock'", + `git diff --cached . ":(exclude)package-lock.json" ":(exclude)yarn.lock"`, { encoding: "utf8", }