fix regression in use-android-device and use-ios-device commands
This commit is contained in:
parent
80400e269c
commit
04131ee32c
|
@ -264,7 +264,7 @@ configureDevHostForAndroidDevice = (deviceType) ->
|
||||||
try
|
try
|
||||||
devHost = resolveAndroidDevHost(deviceType)
|
devHost = resolveAndroidDevHost(deviceType)
|
||||||
config = readConfig()
|
config = readConfig()
|
||||||
config.android.host = devHost
|
config.platforms.android.host = devHost
|
||||||
writeConfig(config)
|
writeConfig(config)
|
||||||
log "Please run: re-natal use-figwheel to take effect."
|
log "Please run: re-natal use-figwheel to take effect."
|
||||||
catch {message}
|
catch {message}
|
||||||
|
@ -285,7 +285,7 @@ configureDevHostForIosDevice = (deviceType) ->
|
||||||
try
|
try
|
||||||
devHost = resolveIosDevHost(deviceType)
|
devHost = resolveIosDevHost(deviceType)
|
||||||
config = readConfig()
|
config = readConfig()
|
||||||
config.ios.host = devHost
|
config.platforms.ios.host = devHost
|
||||||
writeConfig(config)
|
writeConfig(config)
|
||||||
log "Please run: re-natal use-figwheel to take effect."
|
log "Please run: re-natal use-figwheel to take effect."
|
||||||
catch {message}
|
catch {message}
|
||||||
|
|
Loading…
Reference in New Issue