Closed Bug 892329 Opened 11 years ago Closed 11 years ago

git hook breaks

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: hub, Unassigned)

References

Details

When I try to commit in my local git repository for gaia I get this error:

$ git commit
Traceback (most recent call last):
  File "/usr/bin/gjslint", line 9, in <module>
    load_entry_point('closure-linter==2.3.7', 'console_scripts', 'gjslint')()
  File "/usr/lib/python2.7/site-packages/closure_linter-2.3.7-py2.7.egg/closure_linter/gjslint.py", line 238, in main
    argv = flags.FLAGS(sys.argv)
  File "/usr/lib/python2.7/site-packages/python_gflags-2.0-py2.7.egg/gflags.py", line 1319, in __call__
    raise UnrecognizedFlagError(opt, value)
gflags.UnrecognizedFlagError: Unknown command line flag 'disable'
The only file in the index is build/webapp-zip.js
I believe this is a problem with your version of gjslint.  Try updating to the latest. (I have 2.3.10 and it looks like you are 2.3.7.)

We switched to using the --disable flag instead of --nojsdoc because --nojsdoc was broken in the latest gjslint.  See bug 870729.
Blocks: 870729
Possibly, but then message isn't clear at all. And it prevents from doing anything,
I guess we should check the version some way or the other.
afaik we can't.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.