From de3ada95d83cf953596e30cc53b61159bdaaa9be Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 05 Apr 2025 23:06:23 +0800 Subject: [PATCH] scfg: Reformat --- internal/scfg/writer.go | 4 +--- diff --git a/internal/scfg/writer.go b/internal/scfg/writer.go index e239d685d6bd90ea0e9e4995e47c6a290eecb431..16ca2102bfe08fb20c6bd4c6c3c000be324e9bc8 100644 --- a/internal/scfg/writer.go +++ b/internal/scfg/writer.go @@ -9,9 +9,7 @@ "io" "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 { -- 2.48.1