Skip to content

Commit 4aedd3c

Browse files
committed
Remove unneeded check.
Check not needed since term is always in mapping.
1 parent 3098c63 commit 4aedd3c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/context.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -799,9 +799,6 @@ api.getInitialContext = options => {
799799
const mappings = activeCtx.mappings;
800800
const terms = [...mappings.keys()].sort(_compareShortestLeast);
801801
for(const term of terms) {
802-
if(!mappings.has(term)) {
803-
continue;
804-
}
805802
const mapping = mappings.get(term);
806803
if(mapping === null) {
807804
continue;

0 commit comments

Comments
 (0)