buildx: fix docker exporter check

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

View File

@@ -134,7 +134,7 @@ export class Inputs {
}
public static hasDockerExporter(exporters: string[], load?: boolean): boolean {
return load ?? Inputs.hasExporterType('docker', exporters);
return load || Inputs.hasExporterType('docker', exporters);
}
public static hasExporterType(name: string, exporters: string[]): boolean {