fix: test result.toString()

This commit is contained in:
Thomas E Lackey 2020-12-09 19:23:10 -06:00
parent c1f1cea3f9
commit 9ff8873d9b
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ app:
publicUrl: '/console' publicUrl: '/console'
api: api:
server: 'http://127.0.0.1:9004' server: 'https://apollo1.kube.moon.dxos.network'
path: '/api' path: '/api'
intervalLog: 5000 intervalLog: 5000
pollInterval: 10000 pollInterval: 10000

View File

@ -8,7 +8,7 @@ import childProcess from 'child_process';
const ifRadicle = () => { const ifRadicle = () => {
try { try {
const result = childProcess.execSync('docker ps -f "ancestor=dxos/radicle-seed-node" -q'); const result = childProcess.execSync('docker ps -f "ancestor=dxos/radicle-seed-node" -q');
if (result) { if (result && result.toString()) {
return { title: 'Radicle', url: '/' }; return { title: 'Radicle', url: '/' };
} }
} catch (e) {} } catch (e) {}