Skip to content

Commit

Permalink
Allowing for more envs
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Nov 19, 2024
1 parent efeccbb commit bb6aaae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion link/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type (
func New() (*Link, error) {
err := godotenv.Load()
if err != nil {
return nil, fmt.Errorf("error loading .env file: %w", err)
fmt.Printf("error loading .env file: %s", err)
}

link := os.Getenv("LINK_JSON")
Expand Down
2 changes: 1 addition & 1 deletion team/team.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type (
func New() (*[]Member, error) {
err := godotenv.Load()
if err != nil {
return nil, fmt.Errorf("error loading .env file: %w", err)
fmt.Printf("error loading .env file: %s", err)
}

team := os.Getenv("TEAM_JSON")
Expand Down

0 comments on commit bb6aaae

Please sign in to comment.