1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

fix misspell in utils.go

Signed-off-by: Helen Xie <chenjg@harmonycloud.cn>
This commit is contained in:
fate-grand-order 2017-03-20 19:52:00 +08:00
parent 5aa44cdf13
commit 2b79dbc89b

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) {