Skip to content

Commit

Permalink
chore(installer): remove stale backlinks silently
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Dec 21, 2020
1 parent ee41779 commit 21ca2fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/install/installer.ts
Expand Up @@ -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 => {});
}
}
Expand Down

0 comments on commit 21ca2fe

Please sign in to comment.