From 2e308f95ff59e4f7322fbaee45aa842c200ae99d Mon Sep 17 00:00:00 2001 From: ryan-alectrona Date: Thu, 31 Oct 2024 07:36:11 -0500 Subject: [PATCH] fix: rename urlExclusionsList to urlExclusionList. Signed-off-by: ryan-alectrona --- migrator/AppContext.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrator/AppContext.swift b/migrator/AppContext.swift index 44ca904..b6b5f31 100644 --- a/migrator/AppContext.swift +++ b/migrator/AppContext.swift @@ -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