mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
fix(lint): revert no-deprecated-api for Deno.run (#17880)
This commit is contained in:
parent
a2d942a778
commit
b4b718d6ae
9 changed files with 4 additions and 40 deletions
2
cli/tests/testdata/coverage/complex_test.ts
vendored
2
cli/tests/testdata/coverage/complex_test.ts
vendored
|
@ -7,7 +7,6 @@ Deno.test("complex", function () {
|
|||
Deno.test("sub process with stdin", async () => {
|
||||
// ensure launching deno run with stdin doesn't affect coverage
|
||||
const code = "console.log('5')";
|
||||
// deno-lint-ignore no-deprecated-deno-api
|
||||
const p = await Deno.run({
|
||||
cmd: [Deno.execPath(), "run", "-"],
|
||||
stdin: "piped",
|
||||
|
@ -26,7 +25,6 @@ Deno.test("sub process with stdin", async () => {
|
|||
Deno.test("sub process with deno eval", async () => {
|
||||
// ensure launching deno eval doesn't affect coverage
|
||||
const code = "console.log('5')";
|
||||
// deno-lint-ignore no-deprecated-deno-api
|
||||
const p = await Deno.run({
|
||||
cmd: [Deno.execPath(), "eval", code],
|
||||
stdout: "piped",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue