Skip to content

Commit 0f13dcf

Browse files
committed
Prevent calling XcodeInspector from the host app
1 parent 266e7ca commit 0f13dcf

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Tool/Sources/GitHubCopilotService/LanguageServer/GitHubCopilotService.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -630,9 +630,6 @@ extension InitializingServer: GitHubCopilotLSP {
630630
}
631631

632632
private func xcodeVersion() async -> String? {
633-
if let xcode = await XcodeInspector.shared.safe.latestActiveXcode {
634-
return xcode.version
635-
}
636633
let process = Process()
637634
process.executableURL = URL(fileURLWithPath: "/usr/bin/xcrun")
638635
process.arguments = ["xcodebuild", "-version"]

0 commit comments

Comments
 (0)