fix(run): add cwd/node_modules/.bin to run command search path (#7151)
* fix(run): change run command to check cwd/node_modules/.bin for commands. Fixes run in workspaces. This fixes a bug that was introduced in #6850 where the bin path was being built only from `config.lockfileFolder`. However in workspaces, bins may not be hoisted to the workspace root, causing bins to not be found. This change adds `config.cwd` to the bin search path, so the `yarn run` command will look in a workspace package's node_modules, as well as the workspace root. fixes #7126 * modify chagelog
J
Jeff Valore committed
79a96e31321e58e650e5e879bef52d57dda746af
Parent: 6e5b0ea
Committed by Maël Nison <nison.mael@gmail.com>
on 10/30/2019, 10:43:24 PM