docker: do not set undefined args for checking availability
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -25,7 +25,7 @@ export class Docker {
|
||||
}
|
||||
|
||||
public static async isAvailable(): Promise<boolean> {
|
||||
const ok: boolean = await Exec.getExecOutput('docker', undefined, {
|
||||
const ok: boolean = await Exec.getExecOutput('docker', [], {
|
||||
ignoreReturnCode: true,
|
||||
silent: true
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user