Remove debug code
This commit is contained in:
parent
191d243855
commit
c909759d33
3
main.go
3
main.go
@ -23,9 +23,6 @@ func main() {
|
|||||||
// Use ConsoleWriter logger
|
// Use ConsoleWriter logger
|
||||||
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr}).Hook(FatalHook{})
|
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr}).Hook(FatalHook{})
|
||||||
|
|
||||||
if os.Args[1] == "f" {
|
|
||||||
log.Fatal().Msg("Test")
|
|
||||||
}
|
|
||||||
// Get user's home directory
|
// Get user's home directory
|
||||||
homeDir, err := os.UserHomeDir()
|
homeDir, err := os.UserHomeDir()
|
||||||
if err != nil { log.Fatal().Err(err).Msg("Error getting home directory") }
|
if err != nil { log.Fatal().Err(err).Msg("Error getting home directory") }
|
||||||
|
Reference in New Issue
Block a user