diff options
author | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2016-10-04 13:45:50 +0200 |
---|---|---|
committer | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2016-10-04 13:47:12 +0200 |
commit | b60779c88889f218eb37fe2d42bd622cda4b3eb9 (patch) | |
tree | 011836f269d4d8cd57c644a911c529c5286109d1 /gulpfile.js | |
parent | b0637d22c36b3f04ca116b6288a6608790b4ed99 (diff) | |
download | svg.js-b60779c88889f218eb37fe2d42bd622cda4b3eb9.tar.gz svg.js-b60779c88889f218eb37fe2d42bd622cda4b3eb9.zip |
fixed gulp clean task not returning a Promise
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/gulpfile.js b/gulpfile.js index 53015ba..7203ccf 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -22,10 +22,10 @@ var headerLong = ['/*!' , '* @license <%= pkg.license %>'
, '*'
, '* BUILT: <%= pkg.buildDate %>'
- , '*/;'
+ , '*/'
, ''].join('\n')
-var headerShort = '/*! <%= pkg.name %> v<%= pkg.version %> <%= pkg.license %>*/;'
+var headerShort = '/*! <%= pkg.name %> v<%= pkg.version %> <%= pkg.license %>*/'
// all files in the right order (currently we don't use any dependency management system)
var parts = [
@@ -83,8 +83,8 @@ var parts = [ , 'src/polyfill.js'
]
-gulp.task('clean', function(cb) {
- del([ 'dist/*' ], cb);
+gulp.task('clean', function() {
+ return del([ 'dist/*' ])
})
/**
@@ -141,9 +141,4 @@ gulp.task('docs', function() { })
})
-gulp.task('default', ['clean', 'unify', 'minify'], function() {})
-
-
-
-
-
+gulp.task('default', ['clean', 'unify', 'minify'])
\ No newline at end of file |