Merge pull request #31946 from fate-grand-order/fixed

fix misspell in utils.go
This commit is contained in:
Vincent Demeester 2017-03-20 15:41:54 +01:00 committed by GitHub
commit 93eaec90aa

View file

@ -116,7 +116,7 @@ func extractBuilderFlags(line string) (string, []string, error) {
return line[pos:], words, nil
}
phase = inWord // found someting with "--", fall through
phase = inWord // found something with "--", fall through
}
if (phase == inWord || phase == inQuote) && (pos == len(line)) {
if word != "--" && (blankOK || len(word) > 0) {