We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdf508f commit 5f1bc05Copy full SHA for 5f1bc05
tasks/vsceTasks.ts
@@ -108,6 +108,9 @@ export async function verifySignature(vsixPath: string) {
108
if (spawnResult.code != 0) {
109
throw new Error(`'${vsceArgs.join(' ')}' failed with code ${spawnResult.code}.`);
110
} else if (spawnResult.stdout != 'Signature verification result: Success') {
111
+ // This is a brittle check but the command does not return a non-zero exit code for failed validation.
112
+ // Opened https://github.com/microsoft/vscode-vsce/issues/1192 to track this.
113
+
114
console.log(spawnResult.stdout);
115
throw new Error(`Signature verification failed - '${vsceArgs.join(' ')}'.`);
116
}
0 commit comments