Skip to content

Commit

Permalink
Go through an env
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-asawicki committed Nov 27, 2024
1 parent cf88139 commit 5a06bfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/experiments/experiment_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package experiments

import (
"fmt"
"os"
"os/exec"
"testing"
Expand All @@ -21,7 +20,8 @@ func Test_experiments(t *testing.T) {
maskOnCi := func(line string) error {
if os.Getenv("GITHUB_ACTIONS") == "true" {
t.Logf("masking `%s`", line)
return echo(fmt.Sprintf(`::add-mask::"%s"`, line))
t.Setenv("TEST_SF_TF_MASKING_TEST", line)
return echo(`::add-mask::$TEST_SF_TF_MASKING_TEST`)
}
return nil
}
Expand Down

0 comments on commit 5a06bfd

Please sign in to comment.