Update execSync command to use backticks instead of single quotes.
This commit is contained in:
@@ -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"`,
|
||||||
{
|
{
|
||||||
encoding: "utf8",
|
encoding: "utf8",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user