Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Malton <sebastian@malton.name>
  • Loading branch information
Nokel81 committed Nov 3, 2021
1 parent 0c298e1 commit a90a34c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/cluster-detectors/detector-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ export class DetectorRegistry extends Singleton {
return Object.fromEntries(
iter.map(
Object.entries(results),
([key, { value }]) => [key, value]
)
([key, { value }]) => [key, value],
),
);
}
}
4 changes: 2 additions & 2 deletions src/main/helm/helm-repo-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ export class HelmRepoManager extends Singleton {
output.split(/\r?\n/),
line => line.match(envVarMatcher),
),
({ groups: { key, value }}) => [key, JSON.parse(value)]
)
({ groups: { key, value }}) => [key, JSON.parse(value)],
),
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/k8s-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function getMetrics(cluster: Cluster, prometheusPath: string, query
headers: {
Host: `${cluster.id}.${new URL(kubeProxyUrl).host}`,
},
responseType: "json"
responseType: "json",
});

return body;
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/+preferences/helm-charts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { orderBy } from "lodash";
async function loadAvailableHelmRepos(): Promise<HelmRepo[]> {
const { body } = await got.get<HelmRepo[]>("https://github.com/lensapp/artifact-hub-repositories/releases/download/latest/repositories.json", {
timeout: 10_000,
responseType: "json"
responseType: "json",
});

return orderBy(body, repo => repo.name);
Expand Down

0 comments on commit a90a34c

Please sign in to comment.