Skip to content

Commit

Permalink
Address concurrency warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Jul 10, 2024
1 parent e45d58e commit 3d08744
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser",
"state" : {
"revision" : "c8ed701b513cf5177118a175d85fbbbcd707ab41",
"version" : "1.3.0"
"revision" : "0fbc8848e389af3bb55c182bc19ca9d5dc2f255b",
"version" : "1.4.0"
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions Sources/XCLinting/XCLinter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public struct XCLinter {
}
}

public typealias Rule = (Environment) throws -> [Violation]
public typealias Rule = @Sendable (Environment) throws -> [Violation]

public var environment: Environment
public var rules: [Rule]
Expand Down Expand Up @@ -76,7 +76,7 @@ extension XCLinter {
public static let ruleMap: [String: Rule] = [
"embedded_build_setting": { try EmbeddedBuildSettingsRule().run($0) },
"build_files_ordered": { try BuildFilesAreOrderedRule().run($0) },
"groups_sorted": groupsAreSortedRule,
"groups_sorted": { groupsAreSortedRule($0) },
"validate_build_settings": { try ValidateBuildSettingsRule().run($0) },
"implicit_dependencies": { try ImplicitDependenciesRule().run($0) },
"targets_use_xcconfig": { try TargetsUseXCConfigRule().run($0) },
Expand Down

0 comments on commit 3d08744

Please sign in to comment.