aboutsummaryrefslogtreecommitdiff
path: root/scfg
diff options
context:
space:
mode:
Diffstat (limited to 'scfg')
-rw-r--r--scfg/writer.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/scfg/writer.go b/scfg/writer.go
index 97148a3..dd3b166 100644
--- a/scfg/writer.go
+++ b/scfg/writer.go
@@ -6,9 +6,7 @@ import (
"strings"
)
-var (
- errDirEmptyName = errors.New("scfg: directive with empty name")
-)
+var errDirEmptyName = errors.New("scfg: directive with empty name")
// Write writes a parsed configuration to the provided io.Writer.
func Write(w io.Writer, blk Block) error {