Skip to content

Commit

Permalink
remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
Doflatango committed Oct 17, 2017
1 parent a75dac0 commit 0104aa1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions utils/argument_parser.go
Expand Up @@ -89,10 +89,8 @@ func (cap *cmdArgumentParser) detectStartToken() {
case '\\':
cap.startToken = 0
cap.shouldEscape = true
//cap.currArgument = append(cap.currArgument, c)
case '"', '\'':
cap.startToken = c
//cap.currArgument = append(cap.currArgument, c)
default:
cap.startToken = 0
cap.previous()
Expand Down Expand Up @@ -134,7 +132,6 @@ func (cap *cmdArgumentParser) detectEnd() (detected bool) {
}

if c == cap.startToken && !cap.shouldEscape {
//cap.currArgument = append(cap.currArgument, c)
cap.state = stateArgumentEnd
return true
}
Expand Down

0 comments on commit 0104aa1

Please sign in to comment.