Skip to content

Commit 829eb0f

Browse files
feat: hide pedantic errors during publish by default (#48)
1 parent 98768b9 commit 829eb0f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/commands.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,10 @@ export async function publish(cwd: string, options: PublishOptions) {
161161
"--no-check",
162162
...options.publishArgs,
163163
];
164-
await exec(binPath, args, cwd);
164+
await exec(binPath, args, cwd, {
165+
...process.env,
166+
DENO_DISABLE_PEDANTIC_NODE_WARNINGS: "true",
167+
});
165168
}
166169

167170
export async function runScript(

0 commit comments

Comments
 (0)