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 d59db9c commit 0a4ddb7Copy full SHA for 0a4ddb7
Sources/SymbolGraphs/Metadata/SymbolGraphMetadata.swift
@@ -159,9 +159,9 @@ extension SymbolGraphMetadata:BSONDocumentDecodable
159
{
160
self.init(
161
package: try bson[.package].decode(),
162
- commit: try bson[.commit_hash]?.decode(as: SHA1.self)
+ commit: try bson[.commit_refname]?.decode(as: String.self)
163
164
- .init($0, refname: try bson[.commit_refname].decode())
+ .init(try bson[.commit_hash]?.decode(), refname: $0)
165
},
166
triple: try bson[.triple].decode(),
167
swift: try bson[.swift]?.decode(),
0 commit comments