diff --git a/dist/cleanup/index.js b/dist/cleanup/index.js index 9c81d397..bf3de9dc 100644 --- a/dist/cleanup/index.js +++ b/dist/cleanup/index.js @@ -6230,7 +6230,8 @@ function ignoreError(promise) { } function run() { return __awaiter(this, void 0, void 0, function* () { - yield Promise.all([removePrivateKeyFromKeychain(), ignoreError(saveCache())]); + yield removePrivateKeyFromKeychain(); + yield ignoreError(saveCache()); }); } exports.run = run; diff --git a/src/cleanup-java.ts b/src/cleanup-java.ts index b1cfb710..b0a3b273 100644 --- a/src/cleanup-java.ts +++ b/src/cleanup-java.ts @@ -42,7 +42,8 @@ async function ignoreError(promise: Promise) { } export async function run() { - await Promise.all([removePrivateKeyFromKeychain(), ignoreError(saveCache())]); + await removePrivateKeyFromKeychain(); + await ignoreError(saveCache()); } if (require.main === module) {