From 4192978c3afc943b93d9fae0f65822a2c4edfa62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 27 Apr 2023 04:52:52 +0200 Subject: feat(lint): add `Deno.run` to `no-deprecated-deno-api` (#18869) This upgrade includes a warning for the deprecated "Deno.run()" API. --------- Co-authored-by: David Sherret --- cli/tests/unit/http_test.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/tests/unit/http_test.ts') diff --git a/cli/tests/unit/http_test.ts b/cli/tests/unit/http_test.ts index f407c9186..d9d1655fa 100644 --- a/cli/tests/unit/http_test.ts +++ b/cli/tests/unit/http_test.ts @@ -2085,6 +2085,7 @@ Deno.test({ "--header", "Accept-Encoding: deflate, gzip", ]; + // deno-lint-ignore no-deprecated-deno-api const proc = Deno.run({ cmd, stdout: "piped", stderr: "null" }); const status = await proc.status(); assert(status.success); @@ -2147,6 +2148,7 @@ Deno.test({ "--header", "Accept-Encoding: deflate, gzip", ]; + // deno-lint-ignore no-deprecated-deno-api const proc = Deno.run({ cmd, stdout: "piped", stderr: "null" }); const status = await proc.status(); assert(status.success); -- cgit v1.2.3