fix: fix windows build for pipeline and embarkjs (#1971)

This commit is contained in:
Jonathan Rainville 2019-10-16 09:07:42 -04:00 committed by Iuri Matias
parent 7846e499e8
commit 08c97a2964
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ function copyFiles (ignored) {
ignored = ignored.concat(others); ignored = ignored.concat(others);
ignored ignored
.map(path => path.replace('src/', 'dist/')) .map(path => path.replace('src', 'dist'))
.forEach((dest, index) => { .forEach((dest, index) => {
ensureDirSync(dirname(join(__dirname, dest))); ensureDirSync(dirname(join(__dirname, dest)));
const source = ignored[index]; const source = ignored[index];

View File

@ -29,7 +29,7 @@ function copyFiles (ignored) {
ignored = ignored.concat(others); ignored = ignored.concat(others);
ignored ignored
.map(path => path.replace('src/', 'dist/')) .map(path => path.replace('src', 'dist'))
.forEach((dest, index) => { .forEach((dest, index) => {
ensureDirSync(dirname(join(__dirname, dest))); ensureDirSync(dirname(join(__dirname, dest)));
const source = ignored[index]; const source = ignored[index];