fix: test result.toString()
This commit is contained in:
parent
c1f1cea3f9
commit
9ff8873d9b
@ -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
|
||||
|
@ -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) {}
|
||||
|
Loading…
Reference in New Issue
Block a user