Skip to content
Snippets Groups Projects
Commit 8532bd3f authored by Rhys Arkins's avatar Rhys Arkins
Browse files

refactor: datasource helm id

parent 0aca6ce2
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ import yaml from 'js-yaml'; ...@@ -3,6 +3,7 @@ import yaml from 'js-yaml';
import { logger } from '../../logger'; import { logger } from '../../logger';
import { PackageFile, PackageDependency, ExtractConfig } from '../common'; import { PackageFile, PackageDependency, ExtractConfig } from '../common';
import * as datasourceHelm from '../../datasource/helm';
const isValidChartName = (name: string): boolean => { const isValidChartName = (name: string): boolean => {
return !/[!@#$%^&*(),.?":{}/|<>A-Z]/.test(name); return !/[!@#$%^&*(),.?":{}/|<>A-Z]/.test(name);
...@@ -81,5 +82,5 @@ export function extractPackageFile( ...@@ -81,5 +82,5 @@ export function extractPackageFile(
return res; return res;
}); });
return { deps, datasource: 'helm' } as PackageFile; return { deps, datasource: datasourceHelm.id } as PackageFile;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment