mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix lint
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
b5bf068b82
commit
32a8425052
@ -154,7 +154,7 @@ const charts = new Map([
|
|||||||
}
|
}
|
||||||
]),
|
]),
|
||||||
}],
|
}],
|
||||||
])
|
]);
|
||||||
|
|
||||||
export class HelmChartManager {
|
export class HelmChartManager {
|
||||||
constructor(private repo: HelmRepo){ }
|
constructor(private repo: HelmRepo){ }
|
||||||
|
|||||||
@ -97,10 +97,10 @@ export class HelmChartManager {
|
|||||||
name,
|
name,
|
||||||
sortCharts(
|
sortCharts(
|
||||||
charts.map(chart => ({
|
charts.map(chart => ({
|
||||||
...chart,
|
...chart,
|
||||||
created: Date.parse(chart.created).toString(),
|
created: Date.parse(chart.created).toString(),
|
||||||
repo: this.repo.name,
|
repo: this.repo.name,
|
||||||
})),
|
})),
|
||||||
logger.warn,
|
logger.warn,
|
||||||
),
|
),
|
||||||
] as const)
|
] as const)
|
||||||
|
|||||||
@ -53,7 +53,7 @@ class HelmService {
|
|||||||
return {
|
return {
|
||||||
readme: await chartManager.getReadme(chartName, version),
|
readme: await chartManager.getReadme(chartName, version),
|
||||||
versions: await chartManager.chartVersions(chartName),
|
versions: await chartManager.chartVersions(chartName),
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public async getChartValues(repoName: string, chartName: string, version = "") {
|
public async getChartValues(repoName: string, chartName: string, version = "") {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user