New ๐ŸŒŠ wave for @helm

Commit 59fb634d

59fb634dbbf0Merged

Anurag Agarwal <[email protected]> ยท 3 years ago ยท 3 files ยท ~3 modified

Description

Uses godotenv

Details

Commit
59fb634dbbf0
Parent
06183b362a71

cmd/helmwave/main.gomodifiedView file

@@ -9,6 +9,7 @@
99 helmwave "github.com/helmwave/helmwave/pkg/version"
1010 log "github.com/sirupsen/logrus"
1111 "github.com/urfave/cli/v2"
12+ "github.com/joho/godotenv"
1213 )
1314
1415 //nolint:gochecknoglobals // we need a global list of commands
@@ -29,6 +30,11 @@
2930 }
3031
3132 func main() {
33+ err := godotenv.Load()
34+ if err != nil {
35+ log.Fatal("Error loading .env file")
36+ }
37+
3238 c := CreateApp()
3339
3440 defer recoverPanic()