Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle situations where the cwd does not exist. #446

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

jctanner
Copy link
Contributor

@jctanner jctanner commented Jan 25, 2023

This is seen in some situations with dynaconf where the system under test starts from a src code directory that got moved around or deleted during operation.

dynaconf/dynaconf#853

$ cat REPRODUCER_DIRECT.sh
#!/bin/bash

rm -rf /tmp/foobar
mkdir -p /tmp/foobar
cd /tmp/foobar
rm -rf /tmp/foobar


echo "PWD:$(pwd)"

dotenv --help

This is seen in some situations with dynaconf where the system under test starts from a
src code directory that got moved around or deleted during operation.

Signed-off-by: James Tanner <tanner.jc@gmail.com>
@theskumar theskumar merged commit fc19a55 into theskumar:main Feb 23, 2023
@theskumar
Copy link
Owner

Thank you so much for the patch @jctanner !

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.

None yet

2 participants