diff --git a/init/src/init.ts b/init/src/init.ts index 209a618330d..7bd1ad4d742 100644 --- a/init/src/init.ts +++ b/init/src/init.ts @@ -554,7 +554,7 @@ if (Deno.args.includes("build")) { const denoJson = { tasks: { check: - "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx", + "deno fmt --check . && deno lint . && deno check **/*.ts && deno check **/*.tsx", dev: "deno run -A --watch=static/,routes/ dev.ts", build: "deno run -A dev.ts build", start: "deno run -A main.ts", diff --git a/init/src/init_test.ts b/init/src/init_test.ts index c0a2a898b3a..8fbc60259da 100644 --- a/init/src/init_test.ts +++ b/init/src/init_test.ts @@ -9,6 +9,8 @@ async function withTmpDir(fn: (dir: string) => void | Promise) { const hash = crypto.randomUUID().replaceAll(/-/g, ""); const dir = path.join(import.meta.dirname!, "..", "..", `tmp_${hash}`); await Deno.mkdir(dir, { recursive: true }); + // deno-lint-ignore no-console + console.log(dir); try { await fn(dir); @@ -25,6 +27,8 @@ async function patchProject(dir: string): Promise { // See https://github.com/denoland/deno/issues/27313 // json.patch = [path.fromFileURL(new URL("../..", import.meta.url))]; json.patch = [new URL("../..", import.meta.url).href]; + // deno-lint-ignore no-console + console.log(json.patch[0]); // assert with this stricter rule, before adding it to initialized projects json.lint.rules.include = ["verbatim-module-syntax"]; diff --git a/tests/partials_test.tsx b/tests/partials_test.tsx index eb0a24ed5f7..59e232f697f 100644 --- a/tests/partials_test.tsx +++ b/tests/partials_test.tsx @@ -1900,7 +1900,7 @@ Deno.test({ }); Deno.test({ - name: "partials - submit form redirecct", + name: "partials - submit form redirect", fn: async () => { const app = testApp() .get("/done", (ctx) => {