forked from cerc-io/laconic-console
fix: test result.toString()
This commit is contained in:
@@ -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) {}
|
||||
|
||||
Reference in New Issue
Block a user