File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ struct AvailableToolchainInfo: OutputData {
126126 try versionContainer. encode ( minor, forKey: . minor)
127127 }
128128 case . xcode:
129- try versionContainer. encode ( " xcode " , forKey: . type)
129+ try versionContainer. encode ( " system " , forKey: . type)
130130 }
131131 }
132132}
@@ -235,8 +235,8 @@ struct InstallToolchainInfo: OutputData {
235235 try versionContainer. encode ( major, forKey: . major)
236236 try versionContainer. encode ( minor, forKey: . minor)
237237 }
238- case let . xcode:
239- try versionContainer. encode ( " xcode " , forKey: . type)
238+ case . xcode:
239+ try versionContainer. encode ( " system " , forKey: . type)
240240 }
241241 }
242242
@@ -283,7 +283,8 @@ struct InstallToolchainInfo: OutputData {
283283 branch: branch,
284284 date: date
285285 ) )
286- case " xcode " :
286+ case " system " :
287+ // The only system toolchain that exists at the moment is the xcode version
287288 self . version = . xcode
288289 default :
289290 throw DecodingError . dataCorruptedError (
You can’t perform that action at this time.
0 commit comments