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 Dec 17, 2021
1 parent 9f79f24 commit b041e69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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],
),
);
}
}
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 b041e69

Please sign in to comment.