chore(installer): remove stale backlinks silently (#4786)
This commit is contained in:
parent
7bbda4370d
commit
779c5fff16
|
|
@ -83,8 +83,6 @@ async function validateCache(packagePath: string, browsersPath: string, linksDir
|
||||||
usedBrowserPaths.add(usedBrowserPath);
|
usedBrowserPaths.add(usedBrowserPath);
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (linkTarget)
|
|
||||||
browserFetcher.logPolitely('Failed to process descriptor at ' + linkTarget);
|
|
||||||
await fsUnlinkAsync(linkPath).catch(e => {});
|
await fsUnlinkAsync(linkPath).catch(e => {});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue