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: Minor improvements to IsLinuxGoogleBiosAsync #2725

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

jskeet
Copy link
Collaborator

@jskeet jskeet commented Apr 19, 2024

  • Avoid having the same string literal twice
  • Use the simpler File.OpenText instead of constructing a StreamReader explicitly
  • Use a using declaration to simplify the rest of the code

Fixes b/335638570

- Avoid having the same string literal twice
- Use the simpler File.OpenText instead of constructing a StreamReader explicitly
- Use a `using` declaration to simplify the rest of the code

Fixes b/335638570
@jskeet jskeet requested a review from a team as a code owner April 19, 2024 09:00
@jskeet jskeet merged commit c278bbe into googleapis:main Apr 19, 2024
4 checks passed
@jskeet jskeet deleted the linux-bios branch April 19, 2024 15:33
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