Skip to content

Commit

Permalink
FOOP
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Jul 20, 2023
1 parent 5cd6c80 commit 3a849fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/support/compile-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ function computeRuleImport(resolver, pkg, rule) {

const pkgDir = path.dirname(pkgMain.split(path.sep).join(path.posix.sep));

Check warning on line 161 in lib/support/compile-config.js

View check run for this annotation

Codecov / codecov/patch

lib/support/compile-config.js#L161

Added line #L161 was not covered by tests

return path.normalize(path.join(pkgDir, rule));
return path.posix.normalize(path.join(pkgDir, rule));

Check warning on line 163 in lib/support/compile-config.js

View check run for this annotation

Codecov / codecov/patch

lib/support/compile-config.js#L163

Added line #L163 was not covered by tests
}

// absolute reference
return path.normalize(rule);
return path.posix.normalize(rule);

Check warning on line 167 in lib/support/compile-config.js

View check run for this annotation

Codecov / codecov/patch

lib/support/compile-config.js#L167

Added line #L167 was not covered by tests
}

0 comments on commit 3a849fa

Please sign in to comment.