diff --git a/lib/pipeline/pipeline.js b/lib/pipeline/pipeline.js index 361aba0f..1f0a742b 100644 --- a/lib/pipeline/pipeline.js +++ b/lib/pipeline/pipeline.js @@ -122,7 +122,7 @@ class Pipeline { return obj; }, {}), function (files, targetFile, cb) { - const isDir = targetFile.slice(-1) === '/' || targetFile.indexOf('.') === -1; + const isDir = targetFile.slice(-1) === '/' || targetFile.slice(-1) === '\\' || targetFile.indexOf('.') === -1; // if it's not a directory if (!isDir) { self.logger.info(__("writing file") + " " + (utils.joinPath(self.buildDir, targetFile)).bold.dim);