|
|
@ -138,7 +138,7 @@ module.exports = class Now extends EventEmitter { |
|
|
|
Array.from(this._files).map(async ([sha, { data, names }]) => { |
|
|
|
const statFn = followSymlinks ? stat : lstat; |
|
|
|
|
|
|
|
const nameList = await names.map(async name => { |
|
|
|
return names.map(async name => { |
|
|
|
let mode; |
|
|
|
|
|
|
|
const getMode = async () => { |
|
|
@ -164,8 +164,6 @@ module.exports = class Now extends EventEmitter { |
|
|
|
mode |
|
|
|
}; |
|
|
|
}); |
|
|
|
|
|
|
|
return nameList; |
|
|
|
}) |
|
|
|
) |
|
|
|
) |
|
|
@ -473,8 +471,7 @@ module.exports = class Now extends EventEmitter { |
|
|
|
console.timeEnd(`> [debug] #${attempt} GET /domains/${domain}`); |
|
|
|
} |
|
|
|
|
|
|
|
const parsedJSON = await res.json(); |
|
|
|
return parsedJSON; |
|
|
|
return res.json(); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|