diff options
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/docsite.js | 6 | ||||
-rw-r--r-- | tasks/zip.js | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/tasks/docsite.js b/tasks/docsite.js index 2526f8d..811bbb0 100644 --- a/tasks/docsite.js +++ b/tasks/docsite.js @@ -33,7 +33,7 @@ gulp.task('cdn:docsite:bower_components', ['cdn:stage-bower_components'], functi .pipe(modify({ fileModifier: function(file, contents) { if (/webcomponents-lite.*js/.test(file.path)) { - contents = contents.replace(/(if ?\()(\w+\.log)(\))/mg, '$1$2 && $2.split$3') + contents = contents.replace(/(if ?\()(\w+\.log)(\))/mg, '$1$2 && $2.split$3'); } return contents; } @@ -115,9 +115,7 @@ gulp.task('cdn:docsite:upload', ['cdn:docsite:clean', 'cdn:docsite:zip'], functi path: args.cdnDestination + version }, function(err) { done(err); - }) + }); }); gulp.task('cdn:docsite', ['cdn:docsite:upload']); - - diff --git a/tasks/zip.js b/tasks/zip.js index 43b21f3..f8f3571 100644 --- a/tasks/zip.js +++ b/tasks/zip.js @@ -41,7 +41,7 @@ gulp.task('zip:upload', ['stage:zip'], function(done) { path: dst }, function(err) { done(err); - }) + }); }); gulp.task('zip:update-references', ['zip:upload'], function(done) { |