Skip to content

Commit

Permalink
fix static_code_checks build
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Apr 2, 2024
1 parent 1bc086f commit 3b5521f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions task/backend/executor/support_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type fakeQueryService struct {
mostRecentCtx context.Context
}

func makeAST(q string) lang.ASTCompiler {
pkg, err := runtime.ParseToJSON(q)
func makeAST(ctx context.Context, q string) lang.ASTCompiler {
pkg, err := runtime.ParseToJSON(ctx, q)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 3b5521f

Please sign in to comment.