Skip to content

Commit ebc24af

Browse files
authored
Update FileManager.swift to include bracket in save message (swiftlang#5093)
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 ebc24af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Foundation/FileManager.swift

+1-1
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)