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

Fallback to process.cwd() for finding the cloudinary config file #20

Merged

Conversation

igneel64
Copy link
Contributor

What changed in this PR:

Fallback to calling process.cwd() if the process.env.INIT_CWD is not available.

Currently without Node setting the INIT_CWD env, we would not be able to have a test-runner automatically run the tests such as the vscode jest runner.
E.g.
image

@byara byara requested review from pago, ayusharma and byara October 29, 2020 19:07
Copy link
Collaborator

@ayusharma ayusharma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 Very nice and thanks for taking care of it. This was creating some problems with https://github.com/trivago/prettier-plugin-sort-imports for me, and the problem seems to be fixed now.

Copy link
Collaborator

@byara byara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great Job @igneel64 🎉

@byara byara merged commit 62bcc2d into trivago:master Nov 2, 2020
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.

3 participants