feat(aa): rename identation variables.
This commit is contained in:
parent
5943e9a24d
commit
1e79d27232
3 changed files with 11 additions and 11 deletions
|
|
@ -61,8 +61,8 @@ func (d Dbus) Apply(opt *Option, profile string) string {
|
|||
r = d.talk(opt.ArgMap)
|
||||
}
|
||||
|
||||
aa.TemplateIndentationLevel = strings.Count(
|
||||
strings.SplitN(opt.Raw, Keyword, 1)[0], aa.TemplateIndentation,
|
||||
aa.IndentationLevel = strings.Count(
|
||||
strings.SplitN(opt.Raw, Keyword, 1)[0], aa.Indentation,
|
||||
)
|
||||
generatedDbus := r.String()
|
||||
lenDbus := len(generatedDbus)
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ func (d Exec) Apply(opt *Option, profileRaw string) string {
|
|||
}
|
||||
}
|
||||
|
||||
aa.TemplateIndentationLevel = strings.Count(
|
||||
strings.SplitN(opt.Raw, Keyword, 1)[0], aa.TemplateIndentation,
|
||||
aa.IndentationLevel = strings.Count(
|
||||
strings.SplitN(opt.Raw, Keyword, 1)[0], aa.Indentation,
|
||||
)
|
||||
rules.Sort()
|
||||
new := rules.String()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue