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 051d919 commit a3b2fb7Copy full SHA for a3b2fb7
src/version.ts
@@ -14,7 +14,7 @@ export type Version = {
14
15
const versionRe = /^v(\d+)\.(\d+)(?:\.(\d+))?$/
16
// TODO(ldez): it should be updated to match v2 module name.
17
-const modVersionRe = /github.com\/golangci\/golangci-lint\s(v.+)/
+const modVersionRe = /github.com\/golangci\/golangci-lint\s(v[^ ]+)/
18
19
const parseVersion = (s: string): Version => {
20
if (s == "latest" || s == "") {
0 commit comments