Skip to content

Conversation

@ZerocouldBR
Copy link

The docs-build.py checker was failing with FileNotFoundError when trying to copy directories and files that don't exist in the repository (such as 'bin', 'lib', etc.). These directories are only present after cloning ansible-core using 'nox -s clone-core'.

This fix adds existence checks before attempting to copy directories and files, making the test more robust and preventing errors when running in environments where ansible-core hasn't been cloned yet.

The docs-build.py checker was failing with FileNotFoundError when trying
to copy directories and files that don't exist in the repository (such as
'bin', 'lib', etc.). These directories are only present after cloning
ansible-core using 'nox -s clone-core'.

This fix adds existence checks before attempting to copy directories and
files, making the test more robust and preventing errors when running in
environments where ansible-core hasn't been cloned yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants