Skip to content

Commit 0907418

Browse files
committed
Updated check
1 parent ad2d769 commit 0907418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/verify-commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const core = require("@actions/core");
4040
for (const key of commandKeys) {
4141
const cp = commandPalette.find((c) => c.command === key);
4242

43-
if (cp.when === "false") {
43+
if (cp && cp.when === "false") {
4444
continue;
4545
}
4646

0 commit comments

Comments
 (0)