Skip to content

Commit 8856099

Browse files
fix: remove trailing whitespace to pass editorconfig check
Co-Authored-By: Jake Cosme <[email protected]>
1 parent 80b20fb commit 8856099

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/llama.swiftui/llama.swiftui/UI/DownloadButton.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ struct DownloadButton: View {
5353
print("Security Error: Temporary file path is outside expected directory")
5454
return
5555
}
56-
56+
5757
let docsDir = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0]
5858
guard fileURL.path.hasPrefix(docsDir.path) else {
5959
print("Security Error: Destination path is outside documents directory")
6060
return
6161
}
62-
62+
6363
try FileManager.default.copyItem(at: temporaryURL, to: fileURL)
6464
print("Writing to \(filename) completed")
6565

examples/llama.swiftui/llama.swiftui/UI/InputButton.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ struct InputButton: View {
5757
print("Security Error: Temporary file path is outside expected directory")
5858
return
5959
}
60-
60+
6161
let docsDir = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0]
6262
guard fileURL.path.hasPrefix(docsDir.path) else {
6363
print("Security Error: Destination path is outside documents directory")
6464
return
6565
}
66-
66+
6767
try FileManager.default.copyItem(at: temporaryURL, to: fileURL)
6868
print("Writing to \(filename) completed")
6969

0 commit comments

Comments
 (0)