File tree Expand file tree Collapse file tree 2 files changed +8
-13
lines changed
Expand file tree Collapse file tree 2 files changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,13 @@ final class Workspace {
8989 static func fetchOrCreateWorkspaceIfNeeded( fileURL: URL ) async throws
9090 -> ( workspace: Workspace , filespace: Filespace )
9191 {
92+ // never create duplicated filespaces
93+ for workspace in workspaces. values {
94+ if let filespace = workspace. filespaces [ fileURL] {
95+ return ( workspace, filespace)
96+ }
97+ }
98+
9299 let projectURL = try await Environment . fetchCurrentProjectRootURL ( fileURL)
93100 let workspaceURL = projectURL ?? fileURL
94101 let workspace = workspaces [ workspaceURL] ?? Workspace ( projectRootURL: workspaceURL)
Original file line number Diff line number Diff line change 33 <channel >
44 <title >Copilot for Xcode</title >
55
6- <item >
7- <title >0.11.1</title >
8- <pubDate >Mon, 10 Apr 2023 19:04:48 +0800</pubDate >
9- <sparkle : version >81</sparkle : version >
10- <sparkle : shortVersionString >0.11.1</sparkle : shortVersionString >
11- <sparkle : minimumSystemVersion >12.0</sparkle : minimumSystemVersion >
12- <sparkle : releaseNotesLink >
13- https://github.com/intitni/CopilotForXcode/releases/tag/0.11.1
14- </sparkle : releaseNotesLink >
15- <enclosure url =" https://github.com/intitni/CopilotForXcode/releases/download/0.11.1/Copilot.for.Xcode.app.zip" length =" 19038951" type =" application/octet-stream" sparkle : edSignature =" fp0vSUUH7JyIeyeUrMa9p6u3UFkgl5EeNjkmuzPL9hTmjfkVR77IM/9BIe2730OYy7PR429ngSjWPS+PGIT0Bg==" />
16- </item >
17-
186 <item >
197 <title >0.11.0</title >
208 <pubDate >Sat, 08 Apr 2023 23:32:22 +0800</pubDate >
6149 type =" application/octet-stream" />
6250 </item >
6351 </channel >
64- </rss >
52+ </rss >
You can’t perform that action at this time.
0 commit comments