Skip to content

Commit

Permalink
fix(hover): No rejection on no hover
Browse files Browse the repository at this point in the history
  • Loading branch information
prb28 committed May 30, 2019
1 parent fda89e8 commit c045dfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hover.ts
Expand Up @@ -30,7 +30,7 @@ export class M68kHoverProvider implements vscode.HoverProvider {
keyInstruction = keyInstruction.substr(0, idx);
}
if (token.isCancellationRequested) {
reject();
resolve();
}
let hoverInstructionList = this.documentationManager.getInstruction(keyInstruction.toUpperCase());
if (hoverInstructionList) {
Expand Down Expand Up @@ -118,7 +118,7 @@ export class M68kHoverProvider implements vscode.HoverProvider {
}
}
}
reject();
resolve();
});
}

Expand Down

0 comments on commit c045dfb

Please sign in to comment.