mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 01:38:07 +08:00
This CL makes the custom node_modules_path absolute, because Node requires it to be an absolute path, and does the same thing with the custom `cwd` argument. Else if you pass a custom `cwd` you'll get errors in the test suite as running `mocha --config ./foo/config.js` doesn't work; Mocha also wants the path to be absolute. Bug: none Change-Id: Ib626075f4dd1c00fa2998d55fda8c212b8e853c0 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2718297 Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Paul Lewis <aerotwist@chromium.org> Auto-Submit: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>