Navigation Menu

Skip to content

Commit

Permalink
Fix a bug that an escape for EOL is handled as a parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
s-yata committed Oct 19, 2017
1 parent 7efe98b commit 7bc792d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions v2/command.go
Expand Up @@ -716,6 +716,9 @@ func tokenizeCommand(cmd string) ([]string, error) {
}
}
s = s[i:]
if len(token) == 0 {
continue
}
}
tokens = append(tokens, string(token))
token = token[:0]
Expand Down

0 comments on commit 7bc792d

Please sign in to comment.