Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion init/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 4 additions & 0 deletions init/src/init_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ async function withTmpDir(fn: (dir: string) => void | Promise<void>) {
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);
Expand All @@ -25,6 +27,8 @@ async function patchProject(dir: string): Promise<void> {
// 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"];
Expand Down
2 changes: 1 addition & 1 deletion tests/partials_test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
Loading