fix lint
This commit is contained in:
parent
598407280c
commit
fd58727d27
|
|
@ -189,9 +189,8 @@ export class APIRequestContext extends ChannelOwner<channels.APIRequestContextCh
|
|||
// Convert file-like values to ServerFilePayload structs.
|
||||
for (const [name, value] of Object.entries(options.multipart)) {
|
||||
if (Array.isArray(value)) {
|
||||
for (const item of value) {
|
||||
for (const item of value)
|
||||
multipartData.push(await toFormField(name, item));
|
||||
}
|
||||
} else {
|
||||
multipartData.push(await toFormField(name, value));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -992,7 +992,7 @@ it('should support repeating names in multipart/form-data', async function({ con
|
|||
'content-type': 'text/plain',
|
||||
});
|
||||
res.end('OK.');
|
||||
});
|
||||
});
|
||||
});
|
||||
const [postBody, response] = await Promise.all([
|
||||
postBodyPromise,
|
||||
|
|
|
|||
Loading…
Reference in a new issue