Skip to content

Commit 3b5521f

Browse files
committed
fix static_code_checks build
Signed-off-by: Rui Chen <[email protected]>
1 parent 1bc086f commit 3b5521f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

task/backend/executor/support_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ type fakeQueryService struct {
2525
mostRecentCtx context.Context
2626
}
2727

28-
func makeAST(q string) lang.ASTCompiler {
29-
pkg, err := runtime.ParseToJSON(q)
28+
func makeAST(ctx context.Context, q string) lang.ASTCompiler {
29+
pkg, err := runtime.ParseToJSON(ctx, q)
3030
if err != nil {
3131
panic(err)
3232
}

0 commit comments

Comments
 (0)