Skip to content

Commit

Permalink
JuliaLintBear: Use display() to print result
Browse files Browse the repository at this point in the history
A LintResult is now returned, instead of printing it. This has
to be displayed.

tonyhffong/Lint.jl@79c647
  • Loading branch information
SanketDG committed Jul 10, 2016
1 parent 0a021bd commit 3eda108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bears/julia/JuliaLintBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ class JuliaLintBear:

@staticmethod
def create_arguments(filename, file, config_file):
lintcode = ('import Lint.lintfile; lintfile("' +
escape(filename, '"\\') + '")')
lintcode = ('import Lint.lintfile; display(lintfile("' +
escape(filename, '"\\') + '"))')
return '-e', lintcode

0 comments on commit 3eda108

Please sign in to comment.