mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
The exit code for 'python -msphinx' is incorrect
The exit code was always 0, even if there were warnings and the -W flag was set.
This commit is contained in:
@@ -66,7 +66,7 @@ def main(*args, **kwargs):
|
||||
RemovedInSphinx20Warning,
|
||||
stacklevel=2,
|
||||
)
|
||||
build.main(*args, **kwargs)
|
||||
return build.main(*args, **kwargs)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user