Skip to content

Commit

Permalink
Decrease package size (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky authored Sep 7, 2024
1 parent 1db133e commit e9f9d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const getOptions = ({
...options
}) => {
const cwd = cwdOption instanceof URL ? fileURLToPath(cwdOption) : path.resolve(cwdOption);
const env = envOption === undefined ? undefined : {...process.env, ...envOption};
const env = envOption ? {...process.env, ...envOption} : undefined;
const input = stdio[0]?.string;
return {
...options,
Expand Down

0 comments on commit e9f9d3a

Please sign in to comment.