Improperly split arguments
Open
- Dominant language
- JavaScript
- Stars
- 12.2k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
The provided arguments in this call:
`grunt task:arg1:"arg2 with spaces":"arg3 : blah"`
Should be split out into `"arg1"`, `"arg2 with spaces"`, and `"arg3 : blah"`, but they will actually be split out into `"arg1"`, `"arg2 with spaces"`, `"arg3`, and `blah"` because of the colon inside of arg3
I realize this is a bit of an edge case, and I've only encountered it as a problem this one time.
Contributor guide
Research direction
No file or test is named. Start by locating the argument-splitting logic for the `grunt task:...` syntax and reproduce the quoted argument containing a colon; done means the three intended arguments remain intact, including `arg3 : blah`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100