mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1231720 - Log when ESLint finishes running. r=nalexander
This commit is contained in:
parent
2703258570
commit
ae6ed21c61
@ -200,11 +200,16 @@ class MachCommands(MachCommandBase):
|
||||
'--ext', ext, # This keeps ext as a single argument.
|
||||
] + args
|
||||
|
||||
return self.run_process(cmd_args,
|
||||
success = 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.
|
||||
)
|
||||
|
||||
self.log(logging.INFO, 'eslint', {'msg': ('No errors' if success == 0 else 'Errors')},
|
||||
'Finished eslint. {msg} encountered.')
|
||||
return success
|
||||
|
||||
def eslint_setup(self, update_only=False):
|
||||
"""Ensure eslint is optimally configured.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user