Skip to content

Commit 9cf8a3e

Browse files
committed
Fix incorrect arguments
1 parent 2ca2473 commit 9cf8a3e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Tool/Sources/WorkspaceSuggestionService/Workspace+SuggestionService.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public extension Workspace {
6767
usesTabsForIndentation: editor.usesTabsForIndentation,
6868
relevantCodeSnippets: []
6969
),
70-
workspaceInfo: .init(workspaceURL: projectRootURL, projectURL: projectRootURL)
70+
workspaceInfo: .init(workspaceURL: workspaceURL, projectURL: projectRootURL)
7171
)
7272

7373
filespace.setSuggestions(completions)
@@ -108,7 +108,7 @@ public extension Workspace {
108108
await suggestionService?.notifyRejected(
109109
filespaces[fileURL]?.suggestions ?? [],
110110
workspaceInfo: .init(
111-
workspaceURL: projectRootURL,
111+
workspaceURL: workspaceURL,
112112
projectURL: projectRootURL
113113
)
114114
)
@@ -139,7 +139,7 @@ public extension Workspace {
139139
await suggestionService?.notifyAccepted(
140140
suggestion,
141141
workspaceInfo: .init(
142-
workspaceURL: projectRootURL,
142+
workspaceURL: workspaceURL,
143143
projectURL: projectRootURL
144144
)
145145
)

0 commit comments

Comments
 (0)