Bug 1229154 - Launch 'eslint' with UNIX environment since 'eslint' is not a valid Win32 binary. r=gps

This commit is contained in:
Jared Wein 2015-12-01 14:29:47 -05:00
parent 4e510252ba
commit 8d25b050a2

View File

@ -218,6 +218,7 @@ class MachCommands(MachCommandBase):
return self.run_process(cmd_args,
pass_thru=True, # Allow user to run eslint interactively.
ensure_exit_code=False, # Don't throw on non-zero exit code.
require_unix_environment=True # eslint is not a valid Win32 binary.
)
def eslint_setup(self, update_only=False):
"""Ensure eslint is optimally configured.