Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
Fix plugin err
Browse files Browse the repository at this point in the history
  • Loading branch information
galthaus committed May 17, 2018
1 parent 44e3916 commit 76ac879
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugin/plugin.go
Expand Up @@ -151,7 +151,8 @@ func InitApp(use, short, version string, def *models.PluginProvider, pc PluginCo
} else {
theDef = def
}
if buf, err := json.MarshalIndent(theDef, "", " "); err == nil {
buf, err := json.MarshalIndent(theDef, "", " ")
if err == nil {
fmt.Println(string(buf))
return nil
}
Expand Down

0 comments on commit 76ac879

Please sign in to comment.