Skip to content

Commit

Permalink
Update lib/modules/manager/sveltos/extract.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Poxhofer <[email protected]>
  • Loading branch information
oliverbaehler and secustor committed Jul 10, 2024
1 parent ed40520 commit 36f2170
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions lib/modules/manager/sveltos/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,7 @@ function processAppSpec(definition: ProfileDefinition): PackageDependency[] {

const deps: (PackageDependency | null)[] = [];

let depType: string;
switch (definition.kind) {
case 'Profile':
depType = 'profile';
break;
case 'ClusterProfile':
depType = 'cluster-profile';
break;
case 'EventTrigger':
depType = 'event-trigger';
break;
}
const depType = definition.kind

if (is.nonEmptyObject(spec.helmCharts)) {
for (const source of coerceArray(spec.helmCharts)) {
Expand Down

0 comments on commit 36f2170

Please sign in to comment.