Skip to content

Commit

Permalink
refactor(shellcheck): fix violation
Browse files Browse the repository at this point in the history
```
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 ...
```
  • Loading branch information
myii committed Feb 12, 2022
1 parent a284a56 commit 4ee6387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/convert-formula.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \~)/"'
Expand Down

0 comments on commit 4ee6387

Please sign in to comment.