Skip to content

Commit 2b0d917

Browse files
committed
Update LogFile.swift
1 parent ebd8dee commit 2b0d917

File tree

1 file changed

+1
-1
lines changed
  • AmplifyPlugins/Logging/Sources/AWSCloudWatchLoggingPlugin/Persistence

1 file changed

+1
-1
lines changed

AmplifyPlugins/Logging/Sources/AWSCloudWatchLoggingPlugin/Persistence/LogFile.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ final class LogFile {
6868
/// Data to the underlying log file.
6969
func write(data: Data) throws {
7070
if #available(macOS 12.0, iOS 13.4, watchOS 6.2, tvOS 13.4, *) {
71-
try self.handle.write(contentsOf: data)
71+
try handle.write(contentsOf: data)
7272
} else {
7373
handle.write(data)
7474
}

0 commit comments

Comments
 (0)