From 1076398d5871bedc45f459595e916102b9f9997d Mon Sep 17 00:00:00 2001 From: Tom McCaffery Date: Mon, 3 Oct 2016 17:19:28 -0400 Subject: [PATCH] Fix accidental whitespace change --- core/lib/pattern_assembler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/lib/pattern_assembler.js b/core/lib/pattern_assembler.js index 285593da2..6f5dd962a 100644 --- a/core/lib/pattern_assembler.js +++ b/core/lib/pattern_assembler.js @@ -243,6 +243,7 @@ var pattern_assembler = function () { } function processPatternIterative(relPath, patternlab) { + var relativeDepth = (relPath.match(/\w(?=\\)|\w(?=\/)/g) || []).length; if (relativeDepth > 2) { console.log('');