summaryrefslogtreecommitdiff
path: root/ext/http
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2023-01-17 01:17:18 +0900
committerGitHub <noreply@github.com>2023-01-16 17:17:18 +0100
commit6da958d7ec31f2ffd21bb2beb8cc193a62afc55c (patch)
tree348fb3669348653b3907068b9ddc00f2652bdbfa /ext/http
parent40134ffc99848c89e0ab88c03ca85b9122e2384b (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/http')
-rw-r--r--ext/http/01_http.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http/01_http.js b/ext/http/01_http.js
index 8151d5a74..cb98d246d 100644
--- a/ext/http/01_http.js
+++ b/ext/http/01_http.js
@@ -115,7 +115,7 @@
return null;
}
- const [streamRid, method, url] = nextRequest;
+ const { 0: streamRid, 1: method, 2: url } = nextRequest;
SetPrototypeAdd(this.managedResources, streamRid);
/** @type {ReadableStream<Uint8Array> | undefined} */