Skip to content

Commit

Permalink
Fix lint warn
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Nov 16, 2024
1 parent 416fee8 commit 395b1fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion kv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func TestRunNWithKV(t *testing.T) {
go func() {
time.Sleep(50 * time.Millisecond)
ops.SetKV("email", "[email protected]")
ops.SetKV("map", map[string]interface{}{
ops.SetKV("map", map[string]any{
"str": "hello",
"int": 123,
})
Expand Down
3 changes: 3 additions & 0 deletions operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (

"github.com/k1LoW/concgroup"
"github.com/k1LoW/donegroup"
"github.com/k1LoW/maskedio"
"github.com/k1LoW/runn/exprtrace"
"github.com/k1LoW/runn/internal/deprecation"
"github.com/k1LoW/stopw"
Expand Down Expand Up @@ -83,6 +84,7 @@ type operator struct {
runResult *RunResult
dbg *dbg
hasRunnerRunner bool
maskRule *maskedio.Rule

mu sync.Mutex
}
Expand Down Expand Up @@ -465,6 +467,7 @@ func New(opts ...Option) (*operator, error) {
capturers: bk.capturers,
runResult: newRunResult(bk.desc, bk.labels, bk.path, bk.included, st),
dbg: newDBG(bk.attach),
maskRule: st.maskRule(),
}

if op.debug {
Expand Down

0 comments on commit 395b1fd

Please sign in to comment.