docker: do not set undefined args for checking availability

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2023-02-20 10:00:16 +01:00
parent cb6ca3829f
commit a9ce06b57e
2 changed files with 2 additions and 2 deletions

View File

@@ -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
})