diff --git a/lib/modules/manager/mix/extract.spec.ts b/lib/modules/manager/mix/extract.spec.ts index ea02f12faa3ba3..37d7c990e60585 100644 --- a/lib/modules/manager/mix/extract.spec.ts +++ b/lib/modules/manager/mix/extract.spec.ts @@ -119,19 +119,19 @@ describe('modules/manager/mix/extract', () => { packageName: 'raygun', }, { - currentValue: "~> 1.7", - datasource: "hex", - depName: "credo", + currentValue: '~> 1.7', + datasource: 'hex', + depName: 'credo', depType: 'devDependencies', - packageName: "credo", + packageName: 'credo', }, { - currentValue: "== 0.37.0", - currentVersion: "0.37.0", - datasource: "hex", - depName: "floki", - depType: "devDependencies", - packageName: "floki", + currentValue: '== 0.37.0', + currentVersion: '0.37.0', + datasource: 'hex', + depName: 'floki', + depType: 'devDependencies', + packageName: 'floki', }, ]); }); @@ -258,22 +258,21 @@ describe('modules/manager/mix/extract', () => { lockedVersion: '0.4.0', }, { - currentValue: "~> 1.7", - datasource: "hex", - depName: "credo", + currentValue: '~> 1.7', + datasource: 'hex', + depName: 'credo', depType: 'devDependencies', - packageName: "credo", - lockedVersion: "1.7.10", - + packageName: 'credo', + lockedVersion: '1.7.10', }, { - currentValue: "== 0.37.0", - currentVersion: "0.37.0", - datasource: "hex", - depName: "floki", - depType: "devDependencies", - lockedVersion: "0.37.0", - packageName: "floki", + currentValue: '== 0.37.0', + currentVersion: '0.37.0', + datasource: 'hex', + depName: 'floki', + depType: 'devDependencies', + lockedVersion: '0.37.0', + packageName: 'floki', }, ]); }); diff --git a/lib/modules/manager/mix/extract.ts b/lib/modules/manager/mix/extract.ts index 6957a49bd27301..c28ab016bcef51 100644 --- a/lib/modules/manager/mix/extract.ts +++ b/lib/modules/manager/mix/extract.ts @@ -61,7 +61,7 @@ export async function extractPackageFile( const dep: PackageDependency = { depName: app, - depType: "dependencies" + depType: 'dependencies', }; if (git ?? github) { @@ -85,8 +85,8 @@ export async function extractPackageFile( } } - if (onlyValue !== undefined && !onlyEnvironments.includes("prod")) { - dep.depType = "devDependencies" + if (onlyValue !== undefined && !onlyEnvironments.includes('prod')) { + dep.depType = 'devDependencies'; } deps.set(app, dep);