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

call Date.parse(val) once instead of twice #76

Closed
wants to merge 1 commit into from

Conversation

elidoran
Copy link
Contributor

If it's going to create a problem preventing the debug call then it'll create the problem even when it's the last arg to debug. So, might as well do it once, first, and then use that result in the debug call.

othiym23 pushed a commit that referenced this pull request Dec 13, 2016
If it's going to create a problem preventing the debug call then it'll
create the problem even when it's the last arg to debug. So, might as
well do it once, first, and then use that result in the debug call.

Credit: @elidoran
Reviewed-By: @othiym23
PR-URL: #76
@othiym23
Copy link
Contributor

Landed as 39b6e5c, included in nopt@4.0.0. Thanks for putting this together!

@othiym23 othiym23 closed this Dec 13, 2016
@othiym23 othiym23 removed the review label Dec 13, 2016
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