web frontend for git (tangled's grandpa)
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

clean up long line

+6 -3
+6 -3
main.go
··· 20 20 log.Fatal(err) 21 21 } 22 22 23 - err = UnveilPaths([]string{c.Dirs.Static, c.Repo.ScanPath, c.Dirs.Templates}, "r") 24 - if err != nil { 25 - log.Fatalf("unveil: %w", err) 23 + if err := UnveilPaths([]string{ 24 + c.Dirs.Static, 25 + c.Repo.ScanPath, 26 + c.Dirs.Templates}, 27 + "r"); err != nil { 28 + log.Fatalf("unveil: %s", err) 26 29 } 27 30 28 31 mux := routes.Handlers(c)