INNER CODE UNIT · Go

bomb

derailed/popeye · cmd/root.go:83

func bomb(err error) {
	if err == nil {
		return
	}
	panic(fmt.Errorf("💥 %s", report.Colorize(err.Error(), report.ColorRed)))
}

func initPopeyeFlags() {
	rootCmd.Flags().BoolVarP(
		flags.ForceExitZero,
		"force-exit-zero",
		"",
		false,
		"Force zero exit status when report errors are present",
	)

	rootCmd.Flags().IntVarP(
		flags.MinScore,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…