File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ struct Requirement <: Line
23
23
while ! isempty (fields) && fields[1 ][1 ] == ' @'
24
24
push! (system, popfirst! (fields)[2 : end ])
25
25
end
26
- isempty (fields) && throw ( PkgError ( " invalid requires entry: $content " ) )
26
+ isempty (fields) && error ( " invalid requires entry: $content " )
27
27
package = popfirst! (fields)
28
28
all (field-> occursin (Base. VERSION_REGEX, field), fields) ||
29
- throw ( PkgError ( " invalid requires entry for $package : $content " ) )
29
+ error ( " invalid requires entry for $package : $content " )
30
30
versions = VersionNumber .(fields)
31
- issorted (versions) || throw ( PkgError ( " invalid requires entry for $package : $content " ) )
31
+ issorted (versions) || error ( " invalid requires entry for $package : $content " )
32
32
new (content, package, VersionSet (versions), system)
33
33
end
34
34
end
You can’t perform that action at this time.
0 commit comments