Allow older versions on node.js to run gulpfile.

This commit is contained in:
Yury Delendik 2017-04-28 09:20:21 -05:00 committed by GitHub
parent 71bbcfad8a
commit 9276d1dcd9

View File

@ -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')),