Skip to content

Commit

Permalink
Merge pull request #130 from ilyatovbin-pp/master
Browse files Browse the repository at this point in the history
lowercase EnvSlackColor
  • Loading branch information
L0RD-ZER0 committed Mar 11, 2024
2 parents 5addcdf + f0a168f commit 68c1f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func main() {
commit_sha := long_sha[0:6]

color := ""
switch os.Getenv(EnvSlackColor) {
switch strings.ToLower(os.Getenv(EnvSlackColor)) {
case "success":
color = "good"
text = envOr(EnvSlackOnSuccess, text) // If exists, override with on success
Expand Down

0 comments on commit 68c1f35

Please sign in to comment.