Fix yarn test for container based dev flow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>pull/4/head
parent
de88f925d4
commit
69173c6cad
@ -0,0 +1,7 @@
|
||||
import * as exec from './exec';
|
||||
|
||||
export async function isDaemonRunning(): Promise<boolean> {
|
||||
return await exec.exec(`docker`, ['version', '--format', '{{.Server.Os}}'], true).then(res => {
|
||||
return !res.stdout.includes(' ') && res.success;
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue