From 65218eff7485b89ab678160ba338d588cf909289 Mon Sep 17 00:00:00 2001 From: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> Date: Mon, 21 Oct 2024 07:43:45 -0400 Subject: [PATCH] Comment that catch ignores error. Partial #592 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> --- Sources/mas/Network/NetworkManager.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/mas/Network/NetworkManager.swift b/Sources/mas/Network/NetworkManager.swift index 9c4f496..5f0ab66 100644 --- a/Sources/mas/Network/NetworkManager.swift +++ b/Sources/mas/Network/NetworkManager.swift @@ -23,7 +23,9 @@ class NetworkManager { do { let url = URL(fileURLWithPath: NSHomeDirectory()).appendingPathComponent("Library/Caches/com.mphys.mas-cli") try FileManager.default.removeItem(at: url) - } catch {} + } catch { + // Ignore + } } /// Loads data asynchronously.