Skip to content

Commit 956fd69

Browse files
KatzuYoruCopilot
andauthored
Update path.go
Co-authored-by: Copilot <[email protected]>
1 parent b6b2c7f commit 956fd69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

path.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func findNextParamPosition(pattern string) int {
277277
// if there are more, move the parameter start to the last parameter char
278278
for {
279279
found := findNextNonEscapedCharsetPosition(pattern[nextParamPosition+1:], parameterStartChars)
280-
if found != 0 {
280+
if found > 0 {
281281
break
282282
}
283283
nextParamPosition++

0 commit comments

Comments
 (0)