fix(init): define working directory in check task for init script (#2852)
~~This fixes CI for current PRs until https://github.com/denoland/deno/pull/28655 is added to Deno 2.3.0.~~ This fixes CI until https://github.com/denoland/deno/issues/28923 is fixed. Then, we can use `Deno.makeTempDir()` and not have to use `tmp_*/`.
This commit is contained in:
+2
-1
@@ -554,7 +554,8 @@ if (Deno.args.includes("build")) {
|
||||
const denoJson = {
|
||||
tasks: {
|
||||
check:
|
||||
"deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
|
||||
// Revert once https://github.com/denoland/deno/issues/28923 is fixed
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user