Skip to content

Commit

Permalink
feat: set DENO_DISABLE_PEDANTIC_NODE_WARNINGS during publish by default
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Mar 7, 2024
1 parent 98768b9 commit 982c230
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,10 @@ export async function publish(cwd: string, options: PublishOptions) {
"--no-check",
...options.publishArgs,
];
await exec(binPath, args, cwd);
await exec(binPath, args, cwd, {
...process.env,
DENO_DISABLE_PEDANTIC_NODE_WARNINGS: "true",
});
}

export async function runScript(
Expand Down

0 comments on commit 982c230

Please sign in to comment.