Skip to content

Commit

Permalink
Prefer local linter to globally-installed copy
Browse files Browse the repository at this point in the history
Fixes #153

Change-Id: Idaf621af999a6eb53cab8dd0e814272bab0d0101
  • Loading branch information
joeyparrish committed Sep 8, 2015
1 parent 4d91772 commit 2da8b2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions third_party/gjslint/gjslint
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ dir = os.path.dirname(__file__)
gflags_path = os.path.join(dir, 'python-gflags-2.0')
linter_path = os.path.join(dir, 'closure_linter-2.3.13')

sys.path.append(gflags_path)
sys.path.append(linter_path)
sys.path.insert(0, gflags_path)
sys.path.insert(0, linter_path)

from closure_linter import gjslint

Expand Down

0 comments on commit 2da8b2d

Please sign in to comment.