Skip to content

Commit 6b3a585

Browse files
committed
fix bug in the AsyncFuncCallRule
1 parent c08e994 commit 6b3a585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/rules/asyncfunccallrule.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func (r AsyncFuncCallRule) isApplied(gexp *expression.GomegaExpression, config t
2323
return false
2424
}
2525

26-
if asyncArg := gexp.GetAsyncActualArg(); asyncRules != nil {
26+
if asyncArg := gexp.GetAsyncActualArg(); asyncArg != nil {
2727
return !asyncArg.IsValid()
2828
}
2929

0 commit comments

Comments
 (0)