Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test_runner.js

Issue 29375915: Issue 4878 - Start using ESLint for adblockpluscore (Closed)
Patch Set: Addressed Sebastian's initial feedback Created Feb. 21, 2017, 6:12 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« test/_common.js ('K') | « test/synchronizer.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test_runner.js
diff --git a/test_runner.js b/test_runner.js
index 896539a2af42bfbf58b3ddae1b72a0a8436dfc03..76be8f2b2e7ec01219c60b96be9c080571adb632 100644
--- a/test_runner.js
+++ b/test_runner.js
@@ -15,6 +15,8 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
+/* eslint-env node */
+
"use strict";
let fs = require("fs");
@@ -51,9 +53,7 @@ function addTestPaths(testPaths, recurse)
}
}
if (process.argv.length > 2)
-{
addTestPaths(process.argv.slice(2), true);
-}
else
{
addTestPaths(
« test/_common.js ('K') | « test/synchronizer.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld