Skip to content

Commit

Permalink
fix(scripts): fix type errors exposed by node 14 typings
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell committed Nov 3, 2022
1 parent 7bd3085 commit dca2cb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ function exec(cmd, displayName, cwd = process.cwd(), opts = {}) {
);

if (opts.stdout) {
child.stdout.pipe(opts.stdout);
child.stdout?.pipe(opts.stdout);
}
if (opts.stderr) {
child.stderr.pipe(opts.stderr);
child.stderr?.pipe(opts.stderr);
}
});
}
Expand Down

0 comments on commit dca2cb4

Please sign in to comment.