pre-commit: add configuration and did some cleanup

Signed-off-by: Sumner Evans <sumner@beeper.com>
This commit is contained in:
Sumner Evans
2022-10-21 09:35:03 -05:00
parent f2df6e517b
commit 07d2cae5b2
18 changed files with 73 additions and 77 deletions

View File

@@ -426,7 +426,7 @@ func (bridge *Bridge) Main() {
defer pprof.StopCPUProfile()
}
c := make(chan os.Signal)
c := make(chan os.Signal, 1)
signal.Notify(c, os.Interrupt, syscall.SIGTERM)
<-c