Skip to content

Commit b841805

Browse files
committed
format swift
1 parent 5b72888 commit b841805

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/safari/safari/SafariExtensionViewController.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class SafariExtensionViewController: SFSafariExtensionViewController, WKScriptMe
184184
let fileManager = FileManager.default
185185
if !fileManager.fileExists(atPath: url.absoluteString) {
186186
fileManager.createFile(atPath: url.absoluteString, contents: Data(),
187-
attributes: nil)
187+
attributes: nil)
188188
}
189189
try data!.write(to: url)
190190
} catch {
@@ -217,7 +217,7 @@ class SafariExtensionViewController: SFSafariExtensionViewController, WKScriptMe
217217

218218
extension SafariExtensionViewController: WKUIDelegate {
219219
func webView(_: WKWebView, runOpenPanelWith _: WKOpenPanelParameters, initiatedByFrame _: WKFrameInfo,
220-
completionHandler: @escaping ([URL]?) -> Void) {
220+
completionHandler: @escaping ([URL]?) -> Void) {
221221
let openPanel = NSOpenPanel()
222222
openPanel.canChooseFiles = true
223223
openPanel.begin { result in

0 commit comments

Comments
 (0)