Skip to content

Commit

Permalink
Use Trace variable for verify command
Browse files Browse the repository at this point in the history
  • Loading branch information
msarvar committed May 6, 2021
1 parent 7742085 commit 96f6434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/runner/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func (r *VerifyRunner) Run(ctx context.Context) ([]output.CheckResult, error) {
engine.EnableTracing()
}

runner := tester.NewRunner().SetCompiler(engine.Compiler()).SetStore(engine.Store()).SetModules(engine.Modules()).EnableTracing(true).SetRuntime(engine.Runtime())
runner := tester.NewRunner().SetCompiler(engine.Compiler()).SetStore(engine.Store()).SetModules(engine.Modules()).EnableTracing(r.Trace).SetRuntime(engine.Runtime())
ch, err := runner.RunTests(ctx, nil)
if err != nil {
return nil, fmt.Errorf("running tests: %w", err)
Expand Down

0 comments on commit 96f6434

Please sign in to comment.