mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
isDir test should support possible use of '\' by devs on Windows
This commit is contained in:
parent
8bec33177e
commit
9e62d9c1a9
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user