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

Fix secrets adapters failing fetch on Windows #1350

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

akumajoe
Copy link

Wanted to implement secret fetching as described in this video: https://youtu.be/sPUk9-1WVXI?si=uqoqUZx-IHrp_fxD&t=526

However, on my Windows environment, this call failed due to the nullification of stderr via {command} 2> /dev/null whenever the CLI was checked. Was able to fix by using the system method instead. This should work on any OS, and retain the same behavior as before, though I haven't checked on Mac or Linux.

(true and false were also issues in testing, so i replaced with exit 0 and exit 1)

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.

1 participant