Remove debug code

This commit is contained in:
Elara 2020-12-03 15:23:40 -08:00
parent 191d243855
commit c909759d33

View File

@ -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") }