Skip to content

Commit 11be828

Browse files
committed
Update SuggestionServiceWorkspacePlugin setup
1 parent edb1531 commit 11be828

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Core/Sources/Service/Service.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ public final class Service {
4141

4242
scheduledCleaner = .init()
4343
workspacePool.registerPlugin {
44-
SuggestionServiceWorkspacePlugin(workspace: $0) { projectRootURL, onLaunched in
45-
SuggestionService(projectRootURL: projectRootURL, onServiceLaunched: onLaunched)
46-
}
44+
SuggestionServiceWorkspacePlugin(workspace: $0) { SuggestionService.service() }
4745
}
4846
self.workspacePool = workspacePool
4947
globalShortcutManager = .init(guiController: guiController)

0 commit comments

Comments
 (0)