Browse Source

remove uppercases in plugin name

Yeuoly 1 year ago
parent
commit
f56a956a4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/types/entities/plugin_entities/plugin_declaration.go

+ 1 - 1
internal/types/entities/plugin_entities/plugin_declaration.go

@@ -153,7 +153,7 @@ type PluginDeclaration struct {
 }
 
 var (
-	PluginNameRegex               = regexp.MustCompile(`^[a-zA-Z0-9_-]{1,128}$`)
+	PluginNameRegex               = regexp.MustCompile(`^[a-z0-9_-]{1,128}$`)
 	PluginDeclarationVersionRegex = regexp.MustCompile(`^\d{1,4}(\.\d{1,4}){1,3}(-\w{1,16})?$`)
 )