mirror of
https://github.com/saltstack-formulas/template-formula.git
synced 2025-04-10 14:51:43 +00:00
refactor(shellcheck): fix violation
``` In bin/convert-formula.sh line 90: s/========/$(repeat_char =)/ ^-- SC2283 (error): Remove spaces around = to assign (or use [ ] to compare, or quote '=' if literal). For more information: https://www.shellcheck.net/wiki/SC2283 -- Remove spaces around = to assign ... ```
This commit is contained in:
parent
a284a566b4
commit
4ee6387bf9
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ convert_formula() {
|
|||
# on the following line matches the length of the new formula name
|
||||
sedi "/TEMPLATE/{
|
||||
n
|
||||
s/========/$(repeat_char =)/
|
||||
s/========/$(repeat_char '=')/
|
||||
s/--------/$(repeat_char -)/
|
||||
s/\^^^^^^^^/$(repeat_char ^)/
|
||||
s/\~~~~~~~~/$(repeat_char \~)/"'
|
||||
|
|
Loading…
Add table
Reference in a new issue