Skip to content

Commit

Permalink
fixup: remove unnecessary default value
Browse files Browse the repository at this point in the history
  • Loading branch information
mcous committed May 1, 2023
1 parent 70da1dd commit df99ad8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/npm/call-npm-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export async function callNpmCli<CommandT extends Command>(
*/
async function execNpm(
commandArguments: string[],
environment: Record<string, string> = {},
environment: Record<string, string>,
logger?: Logger
): Promise<{ stdout: string; stderr: string; exitCode: number }> {
logger?.debug?.(`Running command: ${NPM} ${commandArguments.join(" ")}`);
Expand Down

0 comments on commit df99ad8

Please sign in to comment.