We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b360d6 commit 327bbc6Copy full SHA for 327bbc6
index.js
@@ -220,9 +220,7 @@ function fetch(...args:any):Promise {
220
221
// # 241 normalize null or undefined headers, in case nil or null string
222
// pass to native context
223
- _.each(headers, (h,i) => {
224
- headers[i] = h || ''
225
- });
+ headers = _.map(headers, (h) => h || '' );
226
227
// fetch from file system
228
if(URIUtil.isFileURI(url)) {
0 commit comments