chore: remove --no-check flags (#259)
Since Deno 1.23.0, `--no-check` has become the default type checking mode for `deno run`. As such, we don't need to specify this flag anymore.
This commit is contained in:
+2
-2
@@ -46,7 +46,7 @@ Deno.test({
|
||||
|
||||
await t.step("execute init command", async () => {
|
||||
const cliProcess = Deno.run({
|
||||
cmd: ["deno", "run", "-A", "--no-check", "init.ts", tmpDirName],
|
||||
cmd: ["deno", "run", "-A", "init.ts", tmpDirName],
|
||||
stdout: "null",
|
||||
});
|
||||
const { code } = await cliProcess.status();
|
||||
@@ -103,7 +103,7 @@ Deno.test({
|
||||
|
||||
await t.step("start up the server and access the root page", async () => {
|
||||
const serverProcess = Deno.run({
|
||||
cmd: ["deno", "run", "-A", "--no-check", "main.ts"],
|
||||
cmd: ["deno", "run", "-A", "main.ts"],
|
||||
stdout: "piped",
|
||||
stderr: "inherit",
|
||||
cwd: tmpDirName,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env -S deno run -A --watch=static/,routes/,islands/
|
||||
#!/usr/bin/env -S deno run -A --watch=static/,routes/
|
||||
|
||||
import dev from "$fresh/dev.ts";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env -S deno run -A --watch=static/,routes/,islands/
|
||||
#!/usr/bin/env -S deno run -A --watch=static/,routes/
|
||||
|
||||
import dev from "$fresh/dev.ts";
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ Deno.test({
|
||||
async fn(t) {
|
||||
// Preparation
|
||||
const serverProcess = Deno.run({
|
||||
cmd: ["deno", "run", "-A", "--no-check", "./tests/fixture/main.ts"],
|
||||
cmd: ["deno", "run", "-A", "./tests/fixture/main.ts"],
|
||||
stdout: "piped",
|
||||
stderr: "inherit",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user