mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Fix incorrect return code for 'update-wpt' mach command
`mach update-wpt` should return 1 if it exits in an unclean state
This commit is contained in:
parent
c0835ec336
commit
f87d2c1df7
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ def update_tests(**kwargs):
|
|||
logger = update.setup_logging(kwargs, {"mach": sys.stdout})
|
||||
|
||||
rv = update.run_update(logger, **kwargs)
|
||||
return 0 if rv is update.exit_unclean else 1
|
||||
return 1 if rv is update.exit_unclean else 0
|
||||
|
||||
|
||||
def set_defaults(kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue