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

--HG--
extra : rebase_source : a738aa832da24531c47a72632ecef8c729601966
This commit is contained in:
Jared Wein 2015-12-01 14:29:47 -05:00
Родитель 718d4cfd73
Коммит d118134fda
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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.