mirror of
https://github.com/caddyserver/caddy.git
synced 2025-12-08 06:09:53 +00:00
This reverts commit e7a534d0a3.
This commit is contained in:
parent
f9e11158bc
commit
21744b6c4c
4 changed files with 10 additions and 40 deletions
|
|
@ -16,7 +16,6 @@ package caddyfile
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"io"
|
||||
"unicode"
|
||||
|
||||
|
|
@ -119,10 +118,6 @@ func Format(input []byte) []byte {
|
|||
heredoc = heredocClosed
|
||||
} else {
|
||||
heredocMarker = append(heredocMarker, ch)
|
||||
if len(heredocMarker) > 32 {
|
||||
errorString := fmt.Sprintf("heredoc marker too long: <<%s", string(heredocMarker))
|
||||
panic(errorString)
|
||||
}
|
||||
write(ch)
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue