mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[eslint] avoid https://github.com/babel/babel-eslint/issues/245
This commit is contained in:
parent
a39a07c9ea
commit
758c59710d
1 changed files with 1 additions and 2 deletions
|
@ -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());
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue