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:
parent
5aa44cdf13
commit
2b79dbc89b
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ func extractBuilderFlags(line string) (string, []string, error) {
|
||||||
return line[pos:], words, nil
|
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 (phase == inWord || phase == inQuote) && (pos == len(line)) {
|
||||||
if word != "--" && (blankOK || len(word) > 0) {
|
if word != "--" && (blankOK || len(word) > 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue