Skip to content

Commit bc66471

Browse files
Update src/parse.ts
Co-authored-by: Josh Mock <joshua.mock@elastic.co>
1 parent 5149508 commit bc66471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parse.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export function splitSource(source: string): string[] {
9191
// If we find an open curly bracket, we should also find the closing one
9292
// before to checking for the http method.
9393
if (source[index] == "{") {
94-
for (; index < len; ) {
94+
while (index < len) {
9595
if (source[index] == "{") {
9696
brackets += 1;
9797
} else if (source[index] == "}") {

0 commit comments

Comments
 (0)