File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ final class SQLFileParser: Sendable {
2929
3030 /// Characters that can start multi-character sequences (comments, escapes)
3131 /// and must not be processed at chunk boundaries without a lookahead character.
32- private nonisolated static func isMultiCharSequenceStart( _ char: Character ) -> Bool {
32+ nonisolated private static func isMultiCharSequenceStart( _ char: Character ) -> Bool {
3333 char == " - " || char == " / " || char == " \\ " || char == " * "
3434 }
3535
Original file line number Diff line number Diff line change @@ -359,7 +359,7 @@ struct ImportDialog: View {
359359 let encoding = config. encoding
360360 let parser = SQLFileParser ( )
361361 let count = try await Task . detached {
362- return try await parser. countStatements ( url: url, encoding: encoding)
362+ try await parser. countStatements ( url: url, encoding: encoding)
363363 } . value
364364 statementCount = count
365365 } catch {
You can’t perform that action at this time.
0 commit comments