Skip to content

Commit

Permalink
Add NODE_NO_WARNINGS flag to bf dialogs:merge exec
Browse files Browse the repository at this point in the history
  • Loading branch information
ceciliaavila committed Nov 28, 2024
1 parent f361b16 commit 55479c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function runCommand(command, envObject) {
// We need to combine our process.env with envObject so,
// 1) We can use existing env vars (like from CI), and
// 2) npx doesn't like to install without the existing APPDATA windows env var.
const env = { ...process.env, ...envObject };
const env = { ...process.env, ...envObject, NODE_NO_WARNINGS: 1 };
const { stdout, stderr } = await exec(command, { env });

if (stderr) {
Expand Down

0 comments on commit 55479c7

Please sign in to comment.