From e7ff930b4721a86d28fd18f28bac92a9a3716c8f Mon Sep 17 00:00:00 2001 From: spalger Date: Mon, 1 Feb 2016 13:16:59 -0700 Subject: [PATCH] avoid https://github.com/babel/babel-eslint/issues/245 Fixes #6060 --- tasks/build/downloadNodeBuilds.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/build/downloadNodeBuilds.js b/tasks/build/downloadNodeBuilds.js index dbb583fd19700..f3938549aa4e1 100644 --- a/tasks/build/downloadNodeBuilds.js +++ b/tasks/build/downloadNodeBuilds.js @@ -37,7 +37,7 @@ module.exports = function (grunt) { // use an async iife to store promise for download // then store platform in active downloads list // which we will read from in the finish task - platform.downloadPromise = (async () => { + platform.downloadPromise = (async function () { grunt.file.mkdir(downloadDir); if (platform.name === 'windows') { @@ -82,4 +82,3 @@ module.exports = function (grunt) { .nodeify(this.async()); }); }; -