Skip to content

Conversation

@Svynct
Copy link

@Svynct Svynct commented Oct 11, 2023

When running the program with the "very minor" richter scale, it wouldn't fall into the "very minor" case since it only compared with os.Args[1] when in fact we need to concatenate os.Args[1] and os.Args[2] to retrieve the "very minor" command. This commit fixes this error by adding an additional if clause to check for this case.

When running the program with the "very minor" richter scale, it wouldn't fall into the "very minor" case since it only compared with os.Args[1] when in fact we need to concatenate os.Args[1] and os.Args[2] to retrieve the "very minor" command. This commit fixes this error by adding an additional if clause to check for this case.
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