Bug in installPackages causing packages to not install
Description
The pipeSpawn
function takes an options argument but it's not being assigned to the core cross-spawn
function. This causes packages to not install correctly or not at all
Expected Behavior
The options object should be assigned with the defaults using Object.assign()
Actual Behavior
Options are pre-set and the options given with the function are never used.
Possible Fix
const cp = crossSpawn(command, params, Object.assign({
env: process.env
}, options))
Context
Will cause packages to not install to directory