We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a76220f commit c67ac93Copy full SHA for c67ac93
Sources/rswift/RswiftCore.swift
@@ -328,5 +328,5 @@ public struct RswiftCore {
328
private func writeIfChanged(contents: String, toURL outputURL: URL) throws {
329
let currentFileContents = try? String(contentsOf: outputURL, encoding: .utf8)
330
guard currentFileContents != contents else { return }
331
- try contents.write(to: outputURL, atomically: true, encoding: .utf8)
+ try contents.write(to: outputURL, atomically: false, encoding: .utf8)
332
}
0 commit comments