From a320b0de461c0751fae9c19a79fc5a779afd45cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20S=C3=B6derberg?= Date: Tue, 14 Feb 2023 17:00:58 +1100 Subject: [PATCH] Excluding pnpm-lock.yaml from git diff --- aicommits.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aicommits.ts b/aicommits.ts index 007db34..3ca6b32 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' ':(exclude)pnpm-lock.yaml'", { encoding: "utf8", }