fix(cli): store scope without @ in plugin.mod so Coords() yields single @
This commit is contained in:
parent
f232effe69
commit
12afdbd25e
@ -558,7 +558,7 @@ func upsertPluginMod(scope, name, kind string, categories []string) error {
|
||||
if mod.Plugin.Version == "" {
|
||||
mod.Plugin.Version = "0.1.0"
|
||||
}
|
||||
mod.Plugin.Scope = scope
|
||||
mod.Plugin.Scope = strings.TrimPrefix(scope, "@")
|
||||
mod.Plugin.Name = name
|
||||
mod.Plugin.Kind = kind
|
||||
mod.Plugin.Categories = categories
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user