make sure script exits properly after it finishes signing build files

This commit is contained in:
Sean Yesmunt 2020-06-09 22:09:07 -04:00
parent 92efa2e49b
commit bda2bdadf8

View file

@ -46,6 +46,8 @@ if (!fs.existsSync(downloadPath)) {
function cleanUpAfterSigning() { function cleanUpAfterSigning() {
fs.unlinkSync(fileToSign); fs.unlinkSync(fileToSign);
deleteFolderRecursive(downloadPath); deleteFolderRecursive(downloadPath);
console.log('Good to go captain');
process.exit(0);
} }
function signFile() { function signFile() {