react-native/local-cli/core
David Aurelio edf1774945 Resolve path at callsite rather than in `Config.loadFile`
Summary:
Resolve path at callsite rather than in `Config.loadFile`

`Config.loadFile` should not expose unexpected behavior as joining paths together. This moves that responsibility to the call site. `path.resolve` returns the second argument if it is an absolute path.

Reviewed By: bestander

Differential Revision: D4986130

fbshipit-source-id: c80a588ffa86011bcd5a2c393ad5d6eedc6c61ae
2017-05-03 06:51:47 -07:00
..
__fixtures__ Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07:00
__tests__ Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00
android Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00
ios Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00
windows Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00
default.config.js Stronger config types 2017-05-03 06:51:47 -07:00
findAssets.js Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00
findPlugins.js Fix lint in local-cli 2016-11-14 11:13:42 -08:00
index.js Resolve path at callsite rather than in `Config.loadFile` 2017-05-03 06:51:47 -07:00
makeCommand.js Fix lint in local-cli 2016-11-14 11:13:42 -08:00
wrapCommands.js Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00