From 9ff8873d9b51b2600790806bc3ea7df9303e0fee Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Wed, 9 Dec 2020 19:23:10 -0600 Subject: [PATCH] fix: test result.toString() --- packages/console-app/config-testnet.yml | 2 +- packages/console-server/src/resolvers/addons.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/console-app/config-testnet.yml b/packages/console-app/config-testnet.yml index 9860696..45ac94c 100644 --- a/packages/console-app/config-testnet.yml +++ b/packages/console-app/config-testnet.yml @@ -11,7 +11,7 @@ app: publicUrl: '/console' api: - server: 'http://127.0.0.1:9004' + server: 'https://apollo1.kube.moon.dxos.network' path: '/api' intervalLog: 5000 pollInterval: 10000 diff --git a/packages/console-server/src/resolvers/addons.js b/packages/console-server/src/resolvers/addons.js index 4661dcf..2a90166 100644 --- a/packages/console-server/src/resolvers/addons.js +++ b/packages/console-server/src/resolvers/addons.js @@ -8,7 +8,7 @@ import childProcess from 'child_process'; const ifRadicle = () => { try { const result = childProcess.execSync('docker ps -f "ancestor=dxos/radicle-seed-node" -q'); - if (result) { + if (result && result.toString()) { return { title: 'Radicle', url: '/' }; } } catch (e) {}