Skip to content

Commit

Permalink
Make sure also dot files are copied for tests
Browse files Browse the repository at this point in the history
Without it some PreferencesBase tests were failing because a file
(.brackets.json) wasn't copied.
  • Loading branch information
ficristo committed Nov 19, 2017
1 parent 5b0617b commit e27a565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ gulp.task('copy-src-dist', (_cb) => {
gulp.task('copy-test-dist', (_cb) => {
const cb = _.after(BASE_TESTS_DIRS.length, _cb);
BASE_TESTS_DIRS.forEach((srcDir, idx) => {
gulp.src(`${srcDir}/**/!(*.ts|*.tsx)`)
gulp.src(`${srcDir}/**/!(*.ts|*.tsx)`, { dot: true })
.pipe(gulp.dest(DIST_TESTS_DIRS[idx]))
.on('end', cb);
});
Expand Down

0 comments on commit e27a565

Please sign in to comment.