Skip to content

Commit 68a0c11

Browse files
committed
Fix infinite loop
1 parent 4ce0a73 commit 68a0c11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/base/common/map.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export class UriIterator implements IKeyIterator<URI> {
219219
} else if (this._states[this._stateIdx] === UriIteratorState.Path) {
220220
return this._pathIterator.cmp(a);
221221
} else if (this._states[this._stateIdx] === UriIteratorState.Query) {
222-
return compareIgnoreCase(a, this._value.scheme);
222+
return compareIgnoreCase(a, this._value.query);
223223
} else if (this._states[this._stateIdx] === UriIteratorState.Fragment) {
224224
return compareIgnoreCase(a, this._value.fragment);
225225
}

0 commit comments

Comments
 (0)