Skip to content

Commit

Permalink
Fix linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
p4checo committed Apr 16, 2024
1 parent 90eb8a6 commit dbaa89b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Logging/Destinations/Log+FileLogDestination.swift
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public extension Log {
let fileHandle = try FileHandle(forWritingTo: fileURL)

fileHandle.seekToEndOfFile()
fileHandle.write("\n".data(using: .utf8)! + data) // swiftlint:disable:this force_unwrapping
fileHandle.write(Data("\n".utf8) + data)
fileHandle.closeFile()
}
}
Expand Down

0 comments on commit dbaa89b

Please sign in to comment.