From 5050349ca40c8dcac608f70f19dbafb0a6c7a08d Mon Sep 17 00:00:00 2001 From: LordBurtz <71921875+LordBurtz@users.noreply.github.com> Date: Wed, 2 Oct 2024 11:25:17 +0200 Subject: [PATCH] Update FileManager.swift to include bracket in save message When attempting to save a document multiple times the closing bracket was missing in the printed message This fixes [Issue 953(}https://github.com/swiftlang/swift-foundation/issues/953) --- Sources/Foundation/FileManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Foundation/FileManager.swift b/Sources/Foundation/FileManager.swift index a5d75820df..5a68934853 100644 --- a/Sources/Foundation/FileManager.swift +++ b/Sources/Foundation/FileManager.swift @@ -151,7 +151,7 @@ extension FileManager { if attempt == 0 { return "(A Document Being Saved By \(name))" } else { - return "(A Document Being Saved By \(name) \(attempt + 1)" + return "(A Document Being Saved By \(name) \(attempt + 1))" } }