diff --git a/lib/helpers.js b/lib/helpers.js index e532ffd..7b62d25 100644 --- a/lib/helpers.js +++ b/lib/helpers.js @@ -19,7 +19,7 @@ module.exports = function(config){ }, parseJSON: function(str) { - var scopePath = path.join("/", scope) + var scopePath = path.join("/", scope).replace(/\\/gm, '/') var rx = RegExp("^" + scopePath, "i") try {