run clean-up tasks in serial

This commit is contained in:
Kengo TODA 2021-08-02 20:14:49 +08:00
parent f6a3b974ec
commit 5f3f74c689
2 changed files with 4 additions and 2 deletions

View file

@ -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;