Skip to content

Commit

Permalink
refactor: add export to getDatasourceFor function (#22872)
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy authored Jun 19, 2023
1 parent e732a2a commit 787d623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/datasource/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const getDatasourceList = (): string[] => Array.from(datasources.keys());

const cacheNamespace = 'datasource-releases';

function getDatasourceFor(datasource: string): DatasourceApi | null {
export function getDatasourceFor(datasource: string): DatasourceApi | null {
return datasources.get(datasource) ?? null;
}

Expand Down

0 comments on commit 787d623

Please sign in to comment.