summaryrefslogtreecommitdiffstats
path: root/tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browser-window-globals.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browser-window-globals.js')
-rw-r--r--tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browser-window-globals.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browser-window-globals.js b/tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browser-window-globals.js
index 7a099ba340..daa327f916 100644
--- a/tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browser-window-globals.js
+++ b/tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browser-window-globals.js
@@ -26,7 +26,7 @@ module.exports = {
create(context) {
return {
- Program(node) {
+ Program() {
let filePath = helpers.getAbsoluteFilePath(context);
let relativePath = path.relative(helpers.rootDir, filePath);
// We need to translate the path on Windows, due to the change