Support for the latest react-native-http-bridge
This commit is contained in:
parent
800adf3e30
commit
11fca6bd68
3
cli.js
3
cli.js
|
@ -185,6 +185,8 @@ cli.command("list")
|
|||
printMan();
|
||||
} else if (body === undefined) {
|
||||
printServerProblem();
|
||||
} else if (body.data === undefined) {
|
||||
console.log(chalk.red("No DApps or bots."));
|
||||
} else {
|
||||
body.data.forEach(function(item, i, arr) {
|
||||
if (item["dapp-url"]) {
|
||||
|
@ -281,4 +283,3 @@ cli.version(pkgJson.version)
|
|||
.option("--ip [ip]", "IP address of your device")
|
||||
.option("--dapp-port [dappPort]", "Port of your local DApp server")
|
||||
.parse(process.argv);
|
||||
|
||||
|
|
Loading…
Reference in New Issue