Bug 1279210 - eslint setup: fix eslint module path;r=ahal
MozReview-Commit-ID: HL4tIwgkSau
--- a/tools/lint/mach_commands.py
+++ b/tools/lint/mach_commands.py
@@ -379,17 +379,17 @@ class MachCommands(MachCommandBase):
except (subprocess.CalledProcessError, OSError):
return False
def get_project_root(self):
fullpath = os.path.abspath(sys.modules['__main__'].__file__)
return os.path.dirname(fullpath)
def get_eslint_module_path(self):
- return os.path.join(self.get_project_root(), "testing", "eslint")
+ return os.path.join(self.get_project_root(), "tools", "lint", "eslint")
def _prompt_yn(self, msg):
if not sys.stdin.isatty():
return False
print('%s? [Y/n]' % msg)
while True: