Fixed plugin code example formatting
This commit is contained in:
parent
df6d841ac7
commit
871776ca84
1 changed files with 2 additions and 2 deletions
|
|
@ -100,8 +100,8 @@ func (g *MyGenerator) Generate(config *configurator.Config, opts ...util.Option)
|
||||||
// apply the substitutions to Jinja template and return output as byte array
|
// apply the substitutions to Jinja template and return output as byte array
|
||||||
return generator.ApplyTemplate(path, generator.Mappings{
|
return generator.ApplyTemplate(path, generator.Mappings{
|
||||||
"plugin_name": g.GetName(),
|
"plugin_name": g.GetName(),
|
||||||
"plugin_version": g.GetVersion(),
|
"plugin_version": g.GetVersion(),
|
||||||
"plugin_description": g.GetDescription(),
|
"plugin_description": g.GetDescription(),
|
||||||
"output": output,
|
"output": output,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue