[javascriptlint-commit] SF.net SVN: javascriptlint:[373] trunk/javascriptlint/lint.py
Status: Beta
Brought to you by:
matthiasmiller
|
From: <mat...@us...> - 2018-01-02 20:28:01
|
Revision: 373
http://sourceforge.net/p/javascriptlint/code/373
Author: matthiasmiller
Date: 2018-01-02 20:28:00 +0000 (Tue, 02 Jan 2018)
Log Message:
-----------
Fix missing parameter in lint_files.
Modified Paths:
--------------
trunk/javascriptlint/lint.py
Modified: trunk/javascriptlint/lint.py
===================================================================
--- trunk/javascriptlint/lint.py 2016-12-30 22:51:46 UTC (rev 372)
+++ trunk/javascriptlint/lint.py 2018-01-02 20:28:00 UTC (rev 373)
@@ -311,7 +311,7 @@
try:
contents = fs.readfile(path, encoding)
except IOError, error:
- lint_error(normpath, 0, 0, 'io_error', unicode(error))
+ lint_error(normpath, 0, 0, 'error', 'io_error', unicode(error))
return lint_cache[normpath]
node_positions = jsparse.NodePositions(contents)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|