You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a dynamic string in the second position, and it has a % in it, it will be interpreted as a function string and error. The easiest way to avoid this is to assert that the second arg is a static string.
The text was updated successfully, but these errors were encountered:
tstirrat15
changed the title
Add a linter for dslNode.ErrorWithSourcef that asserts that has at least three args
Add a linter for dslNode.ErrorWithSourcef that asserts that the second arg is a static string
Nov 7, 2024
If you have a dynamic string in the second position, and it has a
%
in it, it will be interpreted as a function string and error. The easiest way to avoid this is to assert that the second arg is a static string.The text was updated successfully, but these errors were encountered: