Skip to content

Commit 3813b27

Browse files
GiteaBotsilverwind
andauthored
Reduce air verbosity (#31417) (#31425)
Backport #31417 by @silverwind Make `air` log less. Uses the option added in air-verse/air#367. Co-authored-by: silverwind <[email protected]>
1 parent 042e9fc commit 3813b27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.air.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ exclude_dir = [
2121
]
2222
exclude_regex = ["_test.go$", "_gen.go$"]
2323
stop_on_error = true
24+
25+
[log]
26+
main_only = true

0 commit comments

Comments
 (0)