Skip to content

Commit

Permalink
replace windows path segments when printing importPath in report
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Aug 12, 2016
1 parent f072e8a commit 4e9a2a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/no-reaching-inside.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = function noReachingInside(context) {
function report(reachedTo, node) {
context.report({
node,
message: `Reaching into "${reachedTo}" is not allowed.`,
message: `Reaching into "${reachedTo.split(path.sep).join('/')}" is not allowed.`,
})
}

Expand Down

0 comments on commit 4e9a2a1

Please sign in to comment.