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

Ignore true/false/1/0 values for CACHE_DIR environment variable #27

Merged
merged 4 commits into from Mar 9, 2020

Conversation

Richienb
Copy link
Contributor

@Richienb Richienb commented Mar 7, 2020

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
Copy link

@ronjouch ronjouch left a comment

Choose a reason for hiding this comment

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

👏 to fix #26, but I still find CACHE_DIR to be a very generic, collision-prone env. var name. I wish Shippable had used something more targeted, and maybe find-cache-dir could too.

Up to you. At any rate, thanks for the help and fast fix 🙂.

index.js Outdated Show resolved Hide resolved
test.js Outdated Show resolved Hide resolved
Richienb and others added 2 commits March 9, 2020 07:49
Co-Authored-By: Sindre Sorhus <sindresorhus@gmail.com>
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
index.js Outdated Show resolved Hide resolved
readme.md Outdated Show resolved Hide resolved
test.js Outdated Show resolved Hide resolved
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
@sindresorhus sindresorhus changed the title Ignore yes/no like values for CACHE_DIR environment variable Ignore true/false/1/0 values for CACHE_DIR environment variable Mar 9, 2020
@sindresorhus sindresorhus merged commit e7dd4a6 into sindresorhus:master Mar 9, 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
3 participants