fix: better error message
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
See toolshed/organising#608
This commit is contained in:
@ -290,7 +290,7 @@ func patternMatches(tag string) error {
|
||||
|
||||
for _, pattern := range unsupported {
|
||||
if match, _ := regexp.Match(pattern, []byte(tag)); match {
|
||||
return fmt.Errorf("'%s' is not supported (%s)", tag, pattern)
|
||||
return fmt.Errorf("version %s is not supported (matched: %s)", tag, pattern)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user