False E011 positive
Bug #1616013 reported by
Ville Skyttä
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash8 |
New
|
Undecided
|
Unassigned |
Bug Description
$ echo 'if [ "$foo" ]; then echo hello; fi' > t.sh
$ python -m bashate.bashate t.sh
[E] E011: Then keyword is not on same line as if or elif keyword: 'if [ "$foo" ]; then echo hello; fi'
- t.sh : L1
1 bashate error(s) found
To post a comment you must log in.