fix minor bugs and add do

This commit is contained in:
2022-11-02 22:49:32 +01:00
parent 9a0002b34f
commit 9b95267eeb
7 changed files with 103 additions and 12 deletions

View File

@@ -44,7 +44,7 @@ func (pr *PluginRegisterBuilder) Build(ctx context.Context) (*PluginRegister, er
name, p := name, p
errgroup.Go(func() error {
pluginPath := fmt.Sprintf(".char/plugins/%s/dist/cmd", name)
pluginPath := fmt.Sprintf(".char/plugins/%s/dist/plugin", name)
_, err := os.Stat(pluginPath)
if err != nil || os.Getenv("CHAR_DEV_MODE") == "true" {