Excluding pnpm-lock.yaml from git diff
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user