Skip to content

Commit 050981e

Browse files
authored
fix(checker): Correct Sprintf argument count in notAnOptionalFieldSelectionCall (#1185)
Signed-off-by: cuishuang <[email protected]>
1 parent be08958 commit 050981e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

checker/checker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func (c *checker) checkOptSelect(e ast.Expr) {
152152
}
153153
c.errors.notAnOptionalFieldSelectionCall(e.ID(), c.location(e),
154154
fmt.Sprintf(
155-
"incorrect signature.%s argument count: %d%s", t, len(call.Args())))
155+
"incorrect signature.%s argument count: %d", t, len(call.Args())))
156156
return
157157
}
158158

0 commit comments

Comments
 (0)