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

rego: Return true for file.exists for directories too #2191

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Jan 24, 2024

I'm not sure why we made it to return true only for non-directory
files. But I think it makes sense to have it be true for directories
as well.

I'm not sure why we made it to return `true` only for non-directory
files. But I think it makes sense to have it be `true` for directories
as well.
@JAORMX JAORMX requested a review from a team as a code owner January 24, 2024 11:52
@JAORMX JAORMX merged commit b14eecf into main Jan 24, 2024
18 checks passed
@JAORMX JAORMX deleted the rego-file-exists branch January 24, 2024 12:09
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