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

refactor: rename depType docker to Dockerfile

parent df52f68b
Branches
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ async function renovateDepType(packageContent, config) {
logger.info({ depName, currentTag, currentDigest }, 'Dockerfile');
deps = [
{
depType: 'docker',
depType: 'Dockerfile',
depName,
currentTag: currentTag || 'latest',
currentDigest,
......
......@@ -15,7 +15,7 @@ async function renovatePackage(config) {
return [];
}
let results;
if (config.depType === 'docker') {
if (config.depType === 'Dockerfile') {
results = await renovateDockerImage(config);
} else {
// npm
......
......@@ -24,7 +24,7 @@ describe('lib/workers/package/index', () => {
});
it('calls docker', async () => {
docker.renovateDockerImage.mockReturnValueOnce([]);
config.depType = 'docker';
config.depType = 'Dockerfile';
const res = await pkgWorker.renovatePackage(config);
expect(res).toMatchObject([]);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment