Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#76)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Apr 21, 2024
1 parent 709022b commit b5aad76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
repos:
- repo: https://github.com/nicklockwood/SwiftFormat
rev: 0.53.5
rev: 0.53.7
hooks:
- id: swiftformat
2 changes: 1 addition & 1 deletion Sources/XConfigs/ViewModels/XConfigsViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ struct XConfigsViewModel: ViewModelType {
}

sections.append(contentsOf: groups.map {
SectionItemsModel<Section, Item>.init(section: .group($0.key.name), items: $0.value)
SectionItemsModel<Section, Item>(section: .group($0.key.name), items: $0.value)
})
return sections
}
Expand Down

0 comments on commit b5aad76

Please sign in to comment.