diff options
author | Jacob Gadikian <[email protected]> | 2023-08-08 03:40:31 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-08-07 19:40:31 +0000 |
commit | b32f265ecad60404c3818cc9d42e367a8e4eb7d4 (patch) | |
tree | 16d79c3ad7ddf0cc6f7915d1e47bdd6d269bf8d5 /cmd/commands.go | |
parent | 431adc09805972196314b2b188904942cbe5dfee (diff) | |
download | caddy-b32f265ecad60404c3818cc9d42e367a8e4eb7d4.tar.gz caddy-b32f265ecad60404c3818cc9d42e367a8e4eb7d4.zip |
ci: Use gofumpt to format code (#5707)
Diffstat (limited to 'cmd/commands.go')
-rw-r--r-- | cmd/commands.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/commands.go b/cmd/commands.go index d1b76f446..3bf47df4e 100644 --- a/cmd/commands.go +++ b/cmd/commands.go @@ -444,7 +444,7 @@ argument of --directory. If the directory does not exist, it will be created. if dir == "" { return caddy.ExitCodeFailedQuit, fmt.Errorf("designated output directory and specified section are required") } - if err := os.MkdirAll(dir, 0755); err != nil { + if err := os.MkdirAll(dir, 0o755); err != nil { return caddy.ExitCodeFailedQuit, err } if err := doc.GenManTree(rootCmd, &doc.GenManHeader{ |