From 9276d1dcd97b4b0dc45342608a7f1b1a7f1e9c5b Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Fri, 28 Apr 2017 09:20:21 -0500 Subject: [PATCH] Allow older versions on node.js to run gulpfile. --- gulpfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 82acf7793..98c094785 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -852,7 +852,8 @@ gulp.task('mozcentral-pre', ['buildnumber', 'locale'], function () { // Clear out everything in the firefox extension build directory rimraf.sync(MOZCENTRAL_DIR); - var { version, commit, } = getVersionJSON(); + var versionJSON = getVersionJSON(); + var version = versionJSON.version, commit = versionJSON.commit; return merge([ createBundle(defines).pipe(gulp.dest(MOZCENTRAL_CONTENT_DIR + 'build')),