Excluding pnpm-lock.yaml from git diff

This commit is contained in:
David Söderberg
2023-02-14 17:00:58 +11:00
parent b48683755b
commit a320b0de46

View File

@@ -28,7 +28,7 @@ export async function main() {
} }
const diff = execSync( 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", encoding: "utf8",
} }