We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d76085 commit 1a65398Copy full SHA for 1a65398
Sources/Workspace/WorkspaceState.swift
@@ -230,7 +230,7 @@ fileprivate struct WorkspaceStateStorage {
230
let path = try container.decode(AbsolutePath?.self, forKey: .path)
231
return self.init(underlying: .edited(basedOn: basedOn.map { .init($0) }, unmanagedPath: path))
232
case "downloaded":
233
- let version = try container.decode(TSCUtility.Version.self, forKey: .path)
+ let version = try container.decode(TSCUtility.Version.self, forKey: .version)
234
return self.init(underlying: .downloaded(version: version))
235
default:
236
throw InternalError("unknown checkout state \(kind)")
0 commit comments