Skip to content

Commit 5050349

Browse files
authored
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(}swiftlang/swift-foundation#953)
1 parent b6de43d commit 5050349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Foundation/FileManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ extension FileManager {
151151
if attempt == 0 {
152152
return "(A Document Being Saved By \(name))"
153153
} else {
154-
return "(A Document Being Saved By \(name) \(attempt + 1)"
154+
return "(A Document Being Saved By \(name) \(attempt + 1))"
155155
}
156156
}
157157

0 commit comments

Comments
 (0)