squirrel
squirrel copied to clipboard
Redundant check in placeholder
https://github.com/Masterminds/squirrel/blob/9b18b54aed2aa831665b8e896cde063d51d921fa/placeholder.go#L97-L103
At line 100.
since we already know that len(sql[p:]) > 1 from the previous if check, we know that len(sql[p:]) == 1 will always be false.
unless I'm missing something?