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

refactor: use t.TempDir() instead of os.MkdirTemp #6101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yuhangcangqian
Copy link

TempDir returns a temporary directory for the test to use.The directory is automatically removed when the test and
all its subtests complete. More info https://pkg.go.dev/testing#B.TempDir

Copy link

netlify bot commented Mar 8, 2025

Deploy Preview for oasisprotocol-oasis-core canceled.

Name Link
🔨 Latest commit 9727222
🔍 Latest deploy log https://app.netlify.com/sites/oasisprotocol-oasis-core/deploys/67cec775709b190008c2afd2

@peternose
Copy link
Contributor

Add file .changelog/6101.trivial.md.

@yuhangcangqian
Copy link
Author

Add file .changelog/6101.trivial.md.

Thanks for you reply.

Added. Please review again.

refactor: use t.TempDir() instead of os.MkdirTemp

Signed-off-by: yuhangcangqian <[email protected]>
@peternose
Copy link
Contributor

Fix (import) problems and rebase.

https://buildkite.com/oasisprotocol/oasis-core-ci/builds/14913

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