chore(installer): remove stale backlinks silently (#4786)

This commit is contained in:
Yury Semikhatsky 2020-12-21 12:31:19 -08:00 committed by GitHub
parent 7bbda4370d
commit 779c5fff16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,8 +83,6 @@ async function validateCache(packagePath: string, browsersPath: string, linksDir
usedBrowserPaths.add(usedBrowserPath);
}
} catch (e) {
if (linkTarget)
browserFetcher.logPolitely('Failed to process descriptor at ' + linkTarget);
await fsUnlinkAsync(linkPath).catch(e => {});
}
}