Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
linyows committed Oct 6, 2023
1 parent c9f875d commit c2d2a6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (p *Plugins) isDirExists() bool {
}

func (p *Plugins) setPath() {
p.path = "/opt/warp/plugin"
p.path = "/opt/warp/plugins"
path := os.Getenv("PLUGIN_PATH")
if path != "" {
p.path = path
Expand Down Expand Up @@ -94,7 +94,7 @@ func (p *Plugins) load() error {

plug, err := p.lookup(n)
if err != nil {
fmt.Printf("plugin load error(%s): %#v\n", n, err)
fmt.Printf("plugin load error(%s): %s\n", n, err)
continue
}

Expand Down

0 comments on commit c2d2a6e

Please sign in to comment.