From de3ada95d83cf953596e30cc53b61159bdaaa9be Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 5 Apr 2025 23:06:23 +0800 Subject: scfg: Reformat --- internal/scfg/writer.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'internal') diff --git a/internal/scfg/writer.go b/internal/scfg/writer.go index e239d68..16ca210 100644 --- a/internal/scfg/writer.go +++ b/internal/scfg/writer.go @@ -9,9 +9,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 { -- cgit v1.2.3