From ed0a7d4a2622793a43fdf15ca2245ab827990a16 Mon Sep 17 00:00:00 2001 From: Techwolf Date: Sun, 30 Apr 2017 02:42:32 -0700 Subject: [PATCH] Fix permissions of built files gulp-chmod expects values in octal, while the previous values were in decimal. This resulted in incorrect permissions on build output files, which caused the next build step to fail. --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 562153899..cc9995d79 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -464,7 +464,7 @@ gulp.task('rainloop:copy', ['default'], function() { fs.mkdirSync(dist + 'rainloop/v/' + versionFull, '0777', true); return gulp.src('rainloop/v/' + cfg.devVersion + '/**/*', {base: 'rainloop/v/' + cfg.devVersion}) - .pipe(chmod(644, 755)) + .pipe(chmod(0o644, 0o755)) .pipe(gulp.dest(dist + 'rainloop/v/' + versionFull)); });