Skip to content

Commit

Permalink
fix(cli): use --no-config for preset tasks
Browse files Browse the repository at this point in the history
This ensures the default bahavior of each preset tasks (fmt, lint, test)
  • Loading branch information
hasundue committed Apr 19, 2024
1 parent cf73dc5 commit 1ef188a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/modules/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ export type TaskRecord = Record<string, string[]>;

export async function getTasks() {
const tasks: TaskRecord = {
fmt: ["fmt"],
lint: ["lint"],
test: ["test"],
fmt: ["fmt", "--no-config"],
lint: ["lint", "--no-config"],
test: ["test", "--no-config"],
};
const config = await findFileUp(Deno.cwd(), "deno.json", "deno.jsonc");
if (!config) {
Expand Down

0 comments on commit 1ef188a

Please sign in to comment.