Skip to content

Commit

Permalink
feat: hide pedantic errors during publish by default (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister authored Mar 7, 2024
1 parent 98768b9 commit 829eb0f
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 829eb0f

Please sign in to comment.