Skip to content

Commit

Permalink
bugfix: No response when open a file with jdt uri (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdneo committed Jan 9, 2020
1 parent 2aeb0d9 commit 072245d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/dataNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export abstract class DataNode extends ExplorerNode {

protected computeContextValue(): string {
let contextValue = this.contextValue;
if (this.uri) {
if (this.uri && this.uri.startsWith("file:")) {
contextValue = `${contextValue || ""}+uri`;
}
if (contextValue) {
Expand Down

0 comments on commit 072245d

Please sign in to comment.