From 4e9a2a157e7ac727a488edaf6711209b2501ab32 Mon Sep 17 00:00:00 2001 From: spalger Date: Thu, 11 Aug 2016 18:48:33 -0700 Subject: [PATCH] replace windows path segments when printing importPath in report --- src/rules/no-reaching-inside.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rules/no-reaching-inside.js b/src/rules/no-reaching-inside.js index 369a623903..df8213ccf4 100644 --- a/src/rules/no-reaching-inside.js +++ b/src/rules/no-reaching-inside.js @@ -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.`, }) }