瀏覽代碼

Fixed spelling error in builder/dockerfile/parser/parser.go

Signed-off-by: Tiffany Jernigan <tiffany.f.j@gmail.com>
Tiffany Jernigan 9 年之前
父節點
當前提交
a07c57f656
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      builder/dockerfile/parser/parser.go

+ 1 - 1
builder/dockerfile/parser/parser.go

@@ -91,7 +91,7 @@ func init() {
 // ParseLine parse a line and return the remainder.
 // ParseLine parse a line and return the remainder.
 func ParseLine(line string) (string, *Node, error) {
 func ParseLine(line string) (string, *Node, error) {
 
 
-	// Handle the parser directive '# escape=<char>. Parser directives must preceed
+	// Handle the parser directive '# escape=<char>. Parser directives must precede
 	// any builder instruction or other comments, and cannot be repeated.
 	// any builder instruction or other comments, and cannot be repeated.
 	if lookingForDirectives {
 	if lookingForDirectives {
 		tecMatch := tokenEscapeCommand.FindStringSubmatch(strings.ToLower(line))
 		tecMatch := tokenEscapeCommand.FindStringSubmatch(strings.ToLower(line))