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

Commandline: Flatten getGameExe checks #1031

Merged
merged 1 commit into from
Jan 27, 2024
Merged

Commandline: Flatten getGameExe checks #1031

merged 1 commit into from
Jan 27, 2024

Conversation

sonic2kk
Copy link
Owner

More recent codebase additions have been using the (in my opinion, more readable) return-early paradigm. This flattens the checks instead of containing everything in a big else block. This was recently done for getTitleFromID in #1011.

In testing, this seems to work just as well, but I will do more testing before merging.

@sonic2kk
Copy link
Owner Author

Bumped version with a rebase, works in testing. ShellCheck is green. This should be ready to merge.

@sonic2kk sonic2kk merged commit 8bff282 into master Jan 27, 2024
@sonic2kk sonic2kk deleted the flatten-getgameexe branch January 27, 2024 17:28
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