Skip to content

Commit 144ef1c

Browse files
committed
Fix missing param declaration
1 parent 3318986 commit 144ef1c

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
@@ -205,7 +205,7 @@ module.exports = {
205205
return validateRequiredByType('cran', 'version', purl.version, throws)
206206
},
207207
// https://github.com/package-url/purl-spec/blob/master/PURL-TYPES.rst#golang
208-
golang(purl) {
208+
golang(purl, throws) {
209209
// Still being lenient here since the standard changes aren't official.
210210
// Pending spec change: https://github.com/package-url/purl-spec/pull/196
211211
const { version } = purl

0 commit comments

Comments
 (0)