diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2023-01-17 01:17:18 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-16 17:17:18 +0100 |
commit | 6da958d7ec31f2ffd21bb2beb8cc193a62afc55c (patch) | |
tree | 348fb3669348653b3907068b9ddc00f2652bdbfa /ext/flash/01_http.js | |
parent | 40134ffc99848c89e0ab88c03ca85b9122e2384b (diff) |
chore: update dlint to v0.37.0 for GitHub Actions (#17295)
Updated third_party dlint to v0.37.0 for GitHub Actions. This PR
includes following changes:
* fix(prefer-primordials): Stop using array pattern assignments
* fix(prefer-primordials): Stop using global intrinsics except for
`SharedArrayBuffer`
* feat(guard-for-in): Apply new guard-for-in rule
Diffstat (limited to 'ext/flash/01_http.js')
-rw-r--r-- | ext/flash/01_http.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/flash/01_http.js b/ext/flash/01_http.js index ce18c2b76..357bdfbe2 100644 --- a/ext/flash/01_http.js +++ b/ext/flash/01_http.js @@ -140,7 +140,7 @@ // Date header: https://datatracker.ietf.org/doc/html/rfc7231#section-7.1.1.2 let str = `HTTP/1.1 ${status} ${statusCodes[status]}\r\nDate: ${date}\r\n`; for (let i = 0; i < headerList.length; ++i) { - const [name, value] = headerList[i]; + const { 0: name, 1: value } = headerList[i]; // header-field = field-name ":" OWS field-value OWS str += `${name}: ${value}\r\n`; } |