Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
chore: remove command type todos #20601
chore: remove command type todos #20601
Changes from 1 commit
bff7f0b
93f2b2b
a0fbd97
e9120ad
9216026
edb7d39
0c62852
ce302e8
585fbe8
b650488
9801c7c
f4adb3a
b17da05
0dfffc6
6674167
9cf79c8
0659e3b
f03249a
95cc205
c8face7
021774c
5493561
6b8c4be
2d4191c
d2b2dd8
136d989
8fb7463
33f0885
ea2126b
b43ca6a
7fcf88a
c8e33fd
35c9445
fc8e114
4bd4536
01de010
cf50abb
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the comment above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be worth changing the check at this point since we're fairly removed from the initial setting of _log.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log
and_log
can be a bit different.log
is a user-provided or default option._log
can beundefined
if some conditions are met.I personally think changing
log
to_log
doesn't change much in this case, but I believe it's safer to leave it as-is.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1. Agree with @tbiethman, at this point _log is referencing the Log instance created by the command when the user options are
log = true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed
log
to_log
when we're trying to manipulate the_log
.