Use correct permission format for gulp-chmod
authorFrancesco Siddi <francesco.siddi@gmail.com>
Wed, 19 Sep 2018 13:06:37 +0000 (15:06 +0200)
committerFrancesco Siddi <francesco.siddi@gmail.com>
Wed, 19 Sep 2018 13:06:37 +0000 (15:06 +0200)
gulpfile.js

index ba53239..885d574 100644 (file)
@@ -68,7 +68,7 @@ gulp.task('scripts', function() {
         .pipe(gulpif(enabled.uglify, uglify()))
         .pipe(rename({suffix: '.min'}))
         .pipe(gulpif(enabled.maps, sourcemaps.write(".")))
-        .pipe(gulpif(enabled.chmod, chmod(644)))
+        .pipe(gulpif(enabled.chmod, chmod(0o644)))
         .pipe(gulp.dest(destination.js))
         .pipe(gulpif(enabled.liveReload, livereload()));
 });
@@ -83,7 +83,7 @@ gulp.task('scripts_tutti', function() {
         .pipe(concat("tutti.min.js"))
         .pipe(gulpif(enabled.uglify, uglify()))
         .pipe(gulpif(enabled.maps, sourcemaps.write(".")))
-        .pipe(gulpif(enabled.chmod, chmod(644)))
+        .pipe(gulpif(enabled.chmod, chmod(0o644)))
         .pipe(gulp.dest(destination.js))
         .pipe(gulpif(enabled.liveReload, livereload()));
 });