fix misspell in utils.go
Signed-off-by: Helen Xie <chenjg@harmonycloud.cn> Upstream-commit: 2b79dbc89bf15c276145a0fa3d3728308349f86e Component: engine
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user