File tree 2 files changed +8
-7
lines changed 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,10 @@ node_modules
4
4
! node_modules /mocha /LICENCE
5
5
! node_modules /chai /chai.js
6
6
! node_modules /chai-LICENCE
7
- web-animations- * .min.js
8
- web-animations- * .min.js.map
9
- web-animations.min.js
10
- web-animations.min.js.map
7
+
11
8
inter- *
9
+ * .min.js *
10
+
12
11
* ~
13
12
sauce_connect.log
14
13
test.html
Original file line number Diff line number Diff line change @@ -285,9 +285,11 @@ module.exports = function(grunt) {
285
285
} ) ;
286
286
287
287
grunt . task . registerTask ( 'clean' , 'Remove files generated by grunt' , function ( ) {
288
- grunt . file . expand ( 'web-animations*' ) . concat ( grunt . file . expand ( 'test/runner-*.html' ) ) . concat ( grunt . file . expand ( 'inter-*' ) ) . forEach ( function ( file ) {
289
- grunt . file . delete ( file ) ;
290
- grunt . log . writeln ( 'File ' + file + ' removed' ) ;
288
+ [ 'inter-*' , '*min.js*' ] . forEach ( function ( filePattern ) {
289
+ grunt . file . expand ( filePattern ) . forEach ( function ( file ) {
290
+ grunt . file . delete ( file ) ;
291
+ grunt . log . writeln ( 'File ' + file + ' removed' ) ;
292
+ } ) ;
291
293
} ) ;
292
294
} ) ;
293
295
You can’t perform that action at this time.
0 commit comments