Skip to content

Commit e50927a

Browse files
committed
Fix typo
1 parent 2dc6742 commit e50927a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Core/Sources/Service/Workspace.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ extension Workspace {
229229
indentSize: editor.indentSize,
230230
usesTabsForIndentation: editor.usesTabsForIndentation,
231231
ignoreSpaceOnlySuggestions: true,
232-
referenceFileURL: filespaces.values.map(\.fileURL)
232+
referenceFileURLs: filespaces.values.map(\.fileURL)
233233
)
234234

235235
filespace.suggestions = completions

Core/Sources/SuggestionService/SuggestionService.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public protocol SuggestionServiceType {
1111
indentSize: Int,
1212
usesTabsForIndentation: Bool,
1313
ignoreSpaceOnlySuggestions: Bool,
14-
referenceFileURL: [URL]
14+
referenceFileURLs: [URL]
1515
) async throws -> [CodeSuggestion]
1616

1717
func notifyAccepted(_ suggestion: CodeSuggestion) async
@@ -37,7 +37,7 @@ public final class SuggestionService: SuggestionServiceType {
3737
indentSize: Int,
3838
usesTabsForIndentation: Bool,
3939
ignoreSpaceOnlySuggestions: Bool,
40-
referenceFileURL: [URL]
40+
referenceFileURLs: [URL]
4141
) async throws -> [SuggestionModel.CodeSuggestion] {
4242
try await gitHubCopilotService.getCompletions(
4343
fileURL: fileURL,

0 commit comments

Comments
 (0)