Skip to content

Commit c67ac93

Browse files
committed
Disable atomically write
1 parent a76220f commit c67ac93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/rswift/RswiftCore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,5 +328,5 @@ public struct RswiftCore {
328328
private func writeIfChanged(contents: String, toURL outputURL: URL) throws {
329329
let currentFileContents = try? String(contentsOf: outputURL, encoding: .utf8)
330330
guard currentFileContents != contents else { return }
331-
try contents.write(to: outputURL, atomically: true, encoding: .utf8)
331+
try contents.write(to: outputURL, atomically: false, encoding: .utf8)
332332
}

0 commit comments

Comments
 (0)