fix regression in use-android-device and use-ios-device commands

This commit is contained in:
Artur Girenko 2017-04-26 21:42:28 +02:00
parent 80400e269c
commit 04131ee32c
1 changed files with 2 additions and 2 deletions

View File

@ -264,7 +264,7 @@ configureDevHostForAndroidDevice = (deviceType) ->
try
devHost = resolveAndroidDevHost(deviceType)
config = readConfig()
config.android.host = devHost
config.platforms.android.host = devHost
writeConfig(config)
log "Please run: re-natal use-figwheel to take effect."
catch {message}
@ -285,7 +285,7 @@ configureDevHostForIosDevice = (deviceType) ->
try
devHost = resolveIosDevHost(deviceType)
config = readConfig()
config.ios.host = devHost
config.platforms.ios.host = devHost
writeConfig(config)
log "Please run: re-natal use-figwheel to take effect."
catch {message}