Skip to content

Commit

Permalink
feat(deps): update caarlos0/log
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Aug 8, 2022
1 parent 2038281 commit fcc1856
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -11,7 +11,7 @@ require (
github.com/caarlos0/env/v6 v6.9.3
github.com/caarlos0/go-reddit/v3 v3.0.1
github.com/caarlos0/go-shellwords v1.0.12
github.com/caarlos0/log v0.1.1
github.com/caarlos0/log v0.1.2
github.com/charmbracelet/keygen v0.3.0
github.com/charmbracelet/lipgloss v0.5.1-0.20220615005615-2e17a8a06096
github.com/dghubble/go-twitter v0.0.0-20211115160449-93a8679adecb
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Expand Up @@ -229,8 +229,8 @@ github.com/caarlos0/go-reddit/v3 v3.0.1/go.mod h1:QlwgmG5SAqxMeQvg/A2dD1x9cIZCO5
github.com/caarlos0/go-rpmutils v0.2.1-0.20211112020245-2cd62ff89b11 h1:IRrDwVlWQr6kS1U8/EtyA1+EHcc4yl8pndcqXWrEamg=
github.com/caarlos0/go-shellwords v1.0.12 h1:HWrUnu6lGbWfrDcFiHcZiwOLzHWjjrPVehULaTFgPp8=
github.com/caarlos0/go-shellwords v1.0.12/go.mod h1:bYeeX1GrTLPl5cAMYEzdm272qdsQAZiaHgeF0KTk1Gw=
github.com/caarlos0/log v0.1.1 h1:eVk0VPVXKB3nk18Gpj+LUZq81ojOamVQebt9wlf2VY4=
github.com/caarlos0/log v0.1.1/go.mod h1:lYxaBNu0NYLm5tdxBysIb2LNhNUUFqNAzSHNu737Loo=
github.com/caarlos0/log v0.1.2 h1:P/pppG5Pv2wfapmioBCQaydFUteMbOy9nSttUHbdowY=
github.com/caarlos0/log v0.1.2/go.mod h1:lYxaBNu0NYLm5tdxBysIb2LNhNUUFqNAzSHNu737Loo=
github.com/caarlos0/sshmarshal v0.0.0-20220308164159-9ddb9f83c6b3 h1:w2ANoiT4ubmh4Nssa3/QW1M7lj3FZkma8f8V5aBDxXM=
github.com/caarlos0/sshmarshal v0.0.0-20220308164159-9ddb9f83c6b3/go.mod h1:7Pd/0mmq9x/JCzKauogNjSQEhivBclCQHfr9dlpDIyA=
github.com/caarlos0/testfs v0.4.4 h1:3PHvzHi5Lt+g332CiShwS8ogTgS3HjrmzZxCm6JCDr8=
Expand Down
9 changes: 9 additions & 0 deletions main.go
Expand Up @@ -6,7 +6,9 @@ import (
"runtime"
"runtime/debug"

"github.com/charmbracelet/lipgloss"
"github.com/goreleaser/goreleaser/cmd"
"github.com/muesli/termenv"
)

// nolint: gochecknoglobals
Expand All @@ -17,6 +19,13 @@ var (
builtBy = ""
)

func init() {
// enable colored output on github actions et al
if os.Getenv("CI") != "" {
lipgloss.SetColorProfile(termenv.TrueColor)
}
}

func main() {
cmd.Execute(
buildVersion(version, commit, date, builtBy),
Expand Down

0 comments on commit fcc1856

Please sign in to comment.