Call exit(1) when sign-xpi didn't succeed

next
neobooru 2021-06-28 12:39:31 +02:00
parent e1a0cf3905
commit bce846ede8
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ async function main() {
if (result.success) {
console.log(result.downloadedFiles[0]);
renameSync(result.downloadedFiles[0], xpiPath);
} else {
exit(1);
}
}