Skip to content

Commit ad85e4f

Browse files
authored
Fix gulp baseline-accept (#29301)
* Fix gulp baseline-accept I think it was ported incorrectly from jake and then never used. * Re-add read:false to baselineDelete
1 parent 19c72c7 commit ad85e4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build/baselineAccept.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function baselineAccept(subfolder = "") {
1212
}
1313

1414
function baselineCopy(subfolder = "") {
15-
return gulp.src([`${localBaseline}${subfolder ? `${subfolder}/` : ``}**`, `!${localBaseline}${subfolder}/**/*.delete`], { base: localBaseline, read: false })
15+
return gulp.src([`${localBaseline}${subfolder ? `${subfolder}/` : ``}**`, `!${localBaseline}${subfolder}/**/*.delete`], { base: localBaseline })
1616
.pipe(gulp.dest(refBaseline));
1717
}
1818

@@ -21,4 +21,4 @@ function baselineDelete(subfolder = "") {
2121
.pipe(rm())
2222
.pipe(rename({ extname: "" }))
2323
.pipe(rm(refBaseline));
24-
}
24+
}

0 commit comments

Comments
 (0)