timoxley/npm-run

bug: options is not optional

Closed this issue · 1 comments

When running npmRun.exec(cmd, callback) I got a TypeError: Cannot read property 'env' of undefined (at augmentOptionsSync - index.js:73:34).

Also having this issue with both npmRun.execSync and npmRun.spawnSync.