Skip to content

Commit

Permalink
fix, Make sure that $binary environment variables are never used in t…
Browse files Browse the repository at this point in the history
…ests
  • Loading branch information
zimmski committed Feb 3, 2025
1 parent 7554962 commit 3fc4f3e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmd/eval-dev-quality/cmd/init_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package cmd

import "os"

func init() {
// Unset environment variables that are often found as defaults in the terminal configuration.
os.Unsetenv("PROVIDER_TOKEN")
os.Unsetenv("PROVIDER_URL")
}

0 comments on commit 3fc4f3e

Please sign in to comment.