Skip to content

Commit

Permalink
fix: rename urlExclusionsList to urlExclusionList.
Browse files Browse the repository at this point in the history
Signed-off-by: ryan-alectrona <[email protected]>
  • Loading branch information
ryangball committed Oct 31, 2024
1 parent c8092e0 commit 2e308f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrator/AppContext.swift
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ struct AppContext {
static var duplicateFilesHandlingPolice: DuplicateFilesHandlingPolicy {
return DuplicateFilesHandlingPolicy(rawValue: UserDefaults.standard.string(forKey: Self.duplicateFilesHandlingPolicyKey) ?? "overwrite") ?? .overwrite
}
static var urlExclusionsList: [URL?] {
static var urlExclusionList: [URL?] {
let managedExcludedPaths = UserDefaults.standard.array(forKey: Self.excludedPathsListKey) as? [String] ?? []
let managedExcludedURLs = managedExcludedPaths.compactMap { URL(string: $0) }
return managedExcludedURLs + defaultUrlExclusionList
Expand Down

0 comments on commit 2e308f9

Please sign in to comment.