Skip to content

Commit

Permalink
fix: supported module check was accidentally negated
Browse files Browse the repository at this point in the history
  • Loading branch information
sorccu committed Dec 22, 2024
1 parent 94ad49f commit b86a9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/services/check-parser/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class Parser {

if (this.checkUnsupportedModules) {
const unsupportedDependencies = resolved.external.flatMap(dep => {
if (this.supportedModules.has(dep.importPath)) {
if (!this.supportedModules.has(dep.importPath)) {
return [dep.importPath]
} else {
return []
Expand Down

0 comments on commit b86a9fd

Please sign in to comment.