Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Arian8j2 committed Jan 7, 2025
1 parent 1c11a9f commit e97fba8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/cli/src/commands/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ pub async fn run_format(arg: &FormatArgs) -> Result<()> {
resolved.sort();

let file_path_to_resolved = group_resolved_patterns_by_group(resolved);
for (file_path, resovled_patterns) in file_path_to_resolved {
for (file_path, resolved_patterns) in file_path_to_resolved {
if let Err(error) =
format_file_resovled_patterns(file_path.clone(), resovled_patterns, arg.clone()).await
format_file_resolved_patterns(file_path.clone(), resolved_patterns, arg.clone()).await
{
eprintln!("couldn't format '{}': {error:?}", file_path)
}
Expand All @@ -49,7 +49,7 @@ fn group_resolved_patterns_by_group(
})
}

async fn format_file_resovled_patterns(
async fn format_file_resolved_patterns(
file_path: String,
patterns: Vec<ResolvedGritDefinition>,
arg: FormatArgs,
Expand Down

0 comments on commit e97fba8

Please sign in to comment.