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

match_deprecated should resolve to nothing, not false, if secrets file is missing #326

Merged
merged 2 commits into from Jan 20, 2021

Conversation

angusmoore
Copy link
Contributor

This fixes a mistake I made in #315 , whoops.

#315 used a short circuit to check for the file, but the subsequent check compares match_deprecated against nothing not against false (which is what the short-circuit will return). Easily fixed by replacing with a ternary that returns nothing if the secrets file doesn't exist.

@essenciary essenciary merged commit 2eeb36e into GenieFramework:master Jan 20, 2021
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