Skip to content

Commit

Permalink
style: format by prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
risu729 committed Feb 6, 2025
1 parent b329d15 commit 9e9c7f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/modules/manager/mise/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export function extractPackageFile(
for (const [name, toolData] of Object.entries(tools)) {
const version = parseVersion(toolData);
// Parse the tool options in the tool name
const toolNameMatchResult = optionInToolNameRegex.exec(name.trim())?.groups;
const toolNameMatchResult = optionInToolNameRegex.exec(
name.trim(),
)?.groups;
if (!toolNameMatchResult) {
throw new Error(`Failed to parse tool name: ${name}`);
}
Expand Down

0 comments on commit 9e9c7f3

Please sign in to comment.