Skip to content

Replace deprecated ioutil. #455

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

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

Conversation

tristanmorgan
Copy link
Member

Backport of #451, replaces deprecated io/ioutil package usage.

@angrycub
Copy link
Contributor

Everyplace where we used ioutil.TempDir in tests could possibly be better served with testing's t.TempDir function, since it will clean them up automatically.

@tristanmorgan
Copy link
Member Author

Hi @angrycub, I have updated the branch to change tests to use t.TempDir() now.

@crw
Copy link
Contributor

crw commented May 14, 2025

@tristanmorgan do you need help getting this reviewed? I registered this as an internal contributor change, which usually has its own workflow.

It can be difficult to get changes reviewed in go-getter, due to the reluctance to disrupt anything for any of the products that use it. I'm assuming this change is with regards to a specific need. Let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants