From 6da958d7ec31f2ffd21bb2beb8cc193a62afc55c Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Tue, 17 Jan 2023 01:17:18 +0900 Subject: 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 --- ext/cache/01_cache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/cache') diff --git a/ext/cache/01_cache.js b/ext/cache/01_cache.js index ab44c11b5..bf0243e3c 100644 --- a/ext/cache/01_cache.js +++ b/ext/cache/01_cache.js @@ -255,7 +255,7 @@ }, ); if (matchResult) { - const [meta, responseBodyRid] = matchResult; + const { 0: meta, 1: responseBodyRid } = matchResult; let body = null; if (responseBodyRid !== null) { body = readableStreamForRid(responseBodyRid); -- cgit v1.2.3