Skip to content

Commit e5c7983

Browse files
authored
chore!: Only allow js variants for .gulp config files (#261)
1 parent ed86da7 commit e5c7983

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+111
-108
lines changed

README.md

Lines changed: 5 additions & 2 deletions

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ var cli = new Liftoff({
3838
{
3939
name: '.gulp',
4040
path: '.',
41-
extensions: interpret.extensions,
41+
extensions: interpret.jsVariants,
4242
findUp: true,
4343
},
4444
{
4545
name: '.gulp',
4646
path: '~',
47-
extensions: interpret.extensions,
47+
extensions: interpret.jsVariants,
4848
},
4949
],
5050
});

test/fixtures/.gulp.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
description: "gulp-cli/test/fixtures"
3+
};

test/fixtures/.gulp.json

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
flags: {
3+
continue: false
4+
}
5+
};

test/fixtures/config/flags/continue/f/.gulp.json

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
flags: {
3+
continue: true
4+
}
5+
};

test/fixtures/config/flags/continue/t/.gulp.json

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
gulpfile: "./other_dir/gulpfile.coffee"
3+
};

test/fixtures/config/flags/gulpfile/autoload-fail/.gulp.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)