Skip to content

Commit

Permalink
Update import-target.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Apr 9, 2024
1 parent 798e6d9 commit 5b4325c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/util/import-target.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,6 @@ module.exports = class ImportTarget {
throw error
}

// This is the usual error
if (error.message === `Can't resolve '${this.name}' in '${baseDir}'`) {
return
}

this.resolveError = error.message
}

Expand Down

0 comments on commit 5b4325c

Please sign in to comment.