style: auto-fix lint and format
This commit is contained in:
1 parent
2dcd81676c
commit
be3d522659
3 files changed
+2
-4
No files matched your search
@@ -159,7 +159,7 @@ export const InitIntegrations = () => {
|
||||
const imageApps = selectedApps.filter((app) => app.source !== "label");
|
||||
|
||||
if (labelApps.length > 0) {
|
||||
const labelAppsWithHost = labelApps.filter((app): app is (typeof app & { host: string }) => Boolean(app.host));
|
||||
const labelAppsWithHost = labelApps.filter((app): app is typeof app & { host: string } => Boolean(app.host));
|
||||
const missingHostCount = labelApps.length - labelAppsWithHost.length;
|
||||
if (missingHostCount > 0) {
|
||||
throw new Error("Some selected Docker label apps are missing host metadata");
|
||||
|
||||
Reference in new issue
Block a user