From 5f791ac47baf14a00bf5625d26f97fbedca21a0f Mon Sep 17 00:00:00 2001 From: Richard Kimber Date: Wed, 31 Aug 2016 16:16:47 +0100 Subject: [PATCH] Windows name fix shouldn't just affect directories I initially created https://github.com/mozilla/nunjucks/pull/761 to deal with incorrectly formatted paths, when precompiling in Windows. The original pull request only dealt with directories, this change also deals with file names. --- src/precompile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/precompile.js b/src/precompile.js index f558aeb3..c27bb5d5 100644 --- a/src/precompile.js +++ b/src/precompile.js @@ -88,8 +88,6 @@ function precompile(input, opts) { for(var i=0; i