From 14748d4de9239ef5cbacf44ea99477e84b6d9271 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 16 Apr 2023 16:38:44 +0200 Subject: [PATCH] Remove superfluous condition. --- tests/sanity/extra/extra-docs.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/sanity/extra/extra-docs.py b/tests/sanity/extra/extra-docs.py index d7bbe35efb..9ddfcc6081 100755 --- a/tests/sanity/extra/extra-docs.py +++ b/tests/sanity/extra/extra-docs.py @@ -13,8 +13,6 @@ import subprocess def main(): """Main entry point.""" - if not os.path.isdir(os.path.join('docs', 'docsite')): - return p = subprocess.run(['antsibull-docs', 'lint-collection-docs', '--plugin-docs', '--disallow-semantic-markup', '--skip-rstcheck', '.'], check=False) if p.returncode not in (0, 3): print('{0}:0:0: unexpected return code {1}'.format(sys.argv[0], p.returncode))