mirror of https://github.com/embarklabs/embark.git
fix: fix windows build for pipeline and embarkjs (#1971)
This commit is contained in:
parent
7846e499e8
commit
08c97a2964
|
@ -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];
|
||||||
|
|
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue