Skip to content

Commit d5f59b5

Browse files
committed
fix error description
1 parent d07019d commit d5f59b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/DangerDependenciesResolver/PackageDataProvider.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ struct PackageDataProvider: PackageDataProviding {
8484
let pins = try container.decode([Package.PinnedV2].self, forKey: .pins)
8585
self.version = .v2(pins: pins)
8686
default:
87-
throw DecodingError.valueNotFound(Int.self, .init(codingPath: [CodingKeys.version], debugDescription: "Invalid value: \(version)"))
87+
throw DecodingError.valueNotFound(Int.self, .init(codingPath: [CodingKeys.version], debugDescription: "Unexpected version: \(version). Danger-Swift supporting 1 or 2."))
8888
}
8989
}
9090
}

0 commit comments

Comments
 (0)