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

Function 'getMinMaxFromTree' defined at line 15 takes 3 arguments, bu… #1078

Merged
merged 1 commit into from
Apr 19, 2020

Conversation

rleir
Copy link
Contributor

@rleir rleir commented Apr 19, 2020

Hi all,
In src/util/colorScale.js, the function 'getMinMaxFromTree' defined at line 15 takes 3 arguments, but it was called with 4 arguments at two places.

Description of proposed changes

What is the goal of this pull request? What does this pull request change?
This trivial change fixes some invalid JavaScript. The problem was harmless (other than code readability) so please feel free to ignore this PR.

Related issue(s)

Fixes #
Related to #

Testing

What steps should be taken to test the changes you've proposed?
If you added or changed behavior in the codebase, did you update the tests, or do you need help with this?
Yes, I would like help with testing. I ran my linter program to check the syntax and calling semantics. Please feel free to ignore this PR due to a lack of testing.
Thanks -- Rick

Thank you for contributing to Nextstrain!

…t it was called with 4 arguments at two places.
Copy link
Member

@jameshadfield jameshadfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good find! thanks 👍

@jameshadfield jameshadfield merged commit af2b9b3 into nextstrain:master Apr 19, 2020
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