diff options
Diffstat (limited to 'tasks/cdn.js')
-rw-r--r-- | tasks/cdn.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tasks/cdn.js b/tasks/cdn.js index 9ff994a..d6ea3c7 100644 --- a/tasks/cdn.js +++ b/tasks/cdn.js @@ -33,11 +33,11 @@ gulp.task('cdn:stage-bower_components', function() { }); gulp.task('cdn:stage-vaadin-elements', function() { - return gulp.src(['LICENSE.html', 'README.md', 'ga.js', 'vaadin-elements.html', 'demo/*', 'apidoc/*'], {base:"."}) + return gulp.src(['LICENSE.html', 'README.md', 'vaadin-elements.html', 'demo/*', 'apidoc/*'], {base:"."}) .pipe(modify({ fileModifier: function(file, contents) { if (/README.md/.test(file.path)) { - contents = contents.replace(/\/latest\//mg, '/' + version + '/') + contents = contents.replace(/\/latest\//mg, '/' + version + '/'); } else { contents.replace('https://cdn.vaadin.com/vaadin-elements/latest/', '../../'); } @@ -133,5 +133,5 @@ gulp.task('verify:cdn', ['cdn-test:stage'], function(done) { done(err); }); - }, done)}); + }, done);}); }); |