1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix formatting

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-03-06 15:37:53 -05:00
parent 032acf71c6
commit 81ca210102

View File

@ -22,13 +22,11 @@ const releasesInjectable = getInjectable({
getValueFromObservedPromise: async () => {
void releaseSecrets.get();
const releaseArrays = await (clusterContext.hasSelectedAll
? requestHelmReleases()
: Promise.all(
clusterContext.contextNamespaces.map((namespace) =>
requestHelmReleases(namespace),
),
));
const releaseArrays = await (
clusterContext.hasSelectedAll
? requestHelmReleases()
: Promise.all(clusterContext.contextNamespaces.map(requestHelmReleases))
);
return releaseArrays.flat().map(toHelmRelease);
},