-
Notifications
You must be signed in to change notification settings - Fork 20
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
review <number> : number is ignored in some cases #43
Comments
Which version of
or:
I get the same result. This is with |
here a small log :
I typed in |
OK, I see why. In |
@ThomasAdam so this is a bug (existing everywhere, not only on my machine) ? |
Yes, it's a bug. |
When certain commands in tasksh (such as 'review N') contain whitespace, such as: review '1 ' The whitespace would tokenise into the command arg vector, effectively treating the whitespace as a literal component. In the case of the 'review' command, this is undesirable. Therefore, strip out all leading/trailing whitespace from the command args vector. Fixes GH issue GothenburgBitFactory#43
Please test the proposed patch which should fix your issue. |
When certain commands in tasksh (such as 'review N') contain whitespace, such as: review '1 ' The whitespace would tokenise into the command arg vector, effectively treating the whitespace as a literal component. In the case of the 'review' command, this is undesirable. Therefore, strip out all leading/trailing whitespace from the command args vector. Fixes GH issue GothenburgBitFactory#43
When certain commands in tasksh (such as 'review N') contain whitespace, such as: review '1 ' The whitespace would tokenise into the command arg vector, effectively treating the whitespace as a literal component. In the case of the 'review' command, this is undesirable. Therefore, strip out all leading/trailing whitespace from the command args vector. Fixes GH issue GothenburgBitFactory#43
works if
0
is the last element before pressing enter.but if
0
is followed by a space (or multiple spaces) the number (30
) will be ignored.The text was updated successfully, but these errors were encountered: