Skip to content

Commit 8cb3de4

Browse files
committed
fix: add missing throws parameter to golang validator
1 parent bb4185a commit 8cb3de4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/purl-type.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ module.exports = {
212212
)
213213
},
214214
// https://github.com/package-url/purl-spec/blob/master/PURL-TYPES.rst#golang
215-
golang(purl) {
215+
golang(purl, throws) {
216216
// Still being lenient here since the standard changes aren't official.
217217
// Pending spec change: https://github.com/package-url/purl-spec/pull/196
218218
const { version } = purl

0 commit comments

Comments
 (0)