mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 05:31:47 +00:00
Merge pull request #8579 from erikh/builder_html_panic
builder: handle anything we cannot parse the command for as a fatal error
This commit is contained in:
@@ -72,7 +72,10 @@ func parseLine(line string) (string, *Node, error) {
|
||||
return line, nil, nil
|
||||
}
|
||||
|
||||
cmd, args := splitCommand(line)
|
||||
cmd, args, err := splitCommand(line)
|
||||
if err != nil {
|
||||
return "", nil, err
|
||||
}
|
||||
|
||||
node := &Node{}
|
||||
node.Value = cmd
|
||||
|
||||
Reference in New Issue
Block a user