Skip to content

Commit 6e28b98

Browse files
committed
ci: update pnpm install command in lockfile verification
1 parent a985c43 commit 6e28b98

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/verify-lockfile.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ const { stdout } = await x("git", ["diff", "HEAD@{1}", "--stat", "--", "./pnpm-l
66
if (stdout.split("\n").length > 0) {
77
console.log("");
88
console.info(ansis.yellow("Detected changes in pnpm-lock.yaml!"));
9-
console.info(ansis.yellowBright("Please run `pnpm install` to update local dependencies."));
9+
console.info(
10+
ansis.yellowBright(
11+
"Please run `pnpm install --fix-lockfile && pnpm dedupe` to update local dependencies.",
12+
),
13+
);
1014
}

0 commit comments

Comments
 (0)