зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
718d4cfd73
Коммит
d118134fda
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче