Skip to content

Commit

Permalink
fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
elbosso committed Aug 18, 2019
1 parent f86c036 commit 10dbe1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
/.idea/
5 changes: 4 additions & 1 deletion shellcheck/outputpanel.py
Expand Up @@ -73,7 +73,10 @@ def update(self, report_json):
except ValueError:
print("ShellCheck Plugin: error parsing JSON", file=sys.stderr)

if report:
if len(report) == 0:
self._tree_view.get_model().append([-1, -1,"All is fine!", "lightgreen"])

elif report:
#self._tree_view.get_model().append([-1, -1,
# "Options: {}".format(str(report["options"])[1:-1]), "#CCCCCC"])

Expand Down

0 comments on commit 10dbe1a

Please sign in to comment.