diff --git a/Core/Sources/Service/Helpers.swift b/Core/Sources/Service/Helpers.swift index 8edda222..a2c16a85 100644 --- a/Core/Sources/Service/Helpers.swift +++ b/Core/Sources/Service/Helpers.swift @@ -15,7 +15,7 @@ extension NSError { case let .requestDispatchFailed(error): message = "Request dispatch failed: \(error.localizedDescription)." case let .clientDataUnavailable(error): - message = "Client data unavalable: \(error.localizedDescription)." + message = "Client data unavailable: \(error.localizedDescription)." case .serverUnavailable: message = "Server unavailable, please make sure you have installed Node." case .missingExpectedParameter: diff --git a/Core/Sources/SuggestionInjector/SuggestionInjector.swift b/Core/Sources/SuggestionInjector/SuggestionInjector.swift index 7f78aa69..c56a1d32 100644 --- a/Core/Sources/SuggestionInjector/SuggestionInjector.swift +++ b/Core/Sources/SuggestionInjector/SuggestionInjector.swift @@ -6,7 +6,7 @@ let suggestionEnd = "*///======== End of Copilot Suggestion" // NOTE: Every lines from Xcode Extension has a line break at its end, even the last line. // NOTE: Copilot's completion always start at character 0, no matter where the cursor is. -// NOTE: range.end and postion in Copilot's completion are useless, don't bother looking at them. +// NOTE: range.end and position in Copilot's completion are useless, don't bother looking at them. public struct SuggestionInjector { public init() {}