Skip to content

Commit

Permalink
style: run prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerlox committed Dec 28, 2024
1 parent 2d1fdac commit 601b6ac
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 26 deletions.
45 changes: 22 additions & 23 deletions lib/modules/manager/mix/extract.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
]);
});
Expand Down Expand Up @@ -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',
},
]);
});
Expand Down
6 changes: 3 additions & 3 deletions lib/modules/manager/mix/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export async function extractPackageFile(

const dep: PackageDependency = {
depName: app,
depType: "dependencies"
depType: 'dependencies',
};

if (git ?? github) {
Expand All @@ -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);
Expand Down

0 comments on commit 601b6ac

Please sign in to comment.