Skip to content

Commit 8eac7c4

Browse files
committed
fix: remove fatalIfError
1 parent 503a67f commit 8eac7c4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cmd/ulxly/ulxly.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2244,13 +2244,6 @@ func prepInputs(cmd *cobra.Command, args []string) (err error) {
22442244
return nil
22452245
}
22462246

2247-
func fatalIfError(err error) {
2248-
if err == nil {
2249-
return
2250-
}
2251-
log.Fatal().Err(err).Msg("Unexpected error occurred")
2252-
}
2253-
22542247
type FileOptions struct {
22552248
FileName string
22562249
}

0 commit comments

Comments
 (0)