Skip to content

Commandline: Flatten getGameExe checks#1031

Merged
sonic2kk merged 1 commit intomasterfrom
flatten-getgameexe
Jan 27, 2024
Merged

Commandline: Flatten getGameExe checks#1031
sonic2kk merged 1 commit intomasterfrom
flatten-getgameexe

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