Skip to content

Commit

Permalink
fix unnecessary filtering of absolute aliases (#2424)
Browse files Browse the repository at this point in the history
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
  • Loading branch information
jonrimmer and FredKSchott committed Feb 23, 2021
1 parent 46d2c4f commit 81d9ff8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions esinstall/src/index.ts
Expand Up @@ -32,7 +32,6 @@ import {
getWebDependencyName,
getWebDependencyType,
isJavaScript,
isPackageAliasEntry,
MISSING_PLUGIN_SUGGESTIONS,
sanitizePackageName,
writeLockfile,
Expand Down Expand Up @@ -312,7 +311,6 @@ ${colors.dim(
entries: [
// Apply all aliases
...Object.entries(installAlias)
.filter(([, val]) => isPackageAliasEntry(val))
.map(([key, val]) => ({
find: key,
replacement: val,
Expand Down

1 comment on commit 81d9ff8

@vercel
Copy link

@vercel vercel bot commented on 81d9ff8 Feb 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.