fix bad hover title for debug internal module
This commit is contained in:
parent
0642999457
commit
da493459df
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ export class ResourceLabel extends IconLabel {
|
|||
const resource = this.label.resource;
|
||||
|
||||
let title = '';
|
||||
if (this.options && this.options.title) {
|
||||
if (this.options && typeof this.options.title === 'string') {
|
||||
title = this.options.title;
|
||||
} else if (resource) {
|
||||
title = getPathLabel(resource.fsPath);
|
||||
|
|
Loading…
Reference in a new issue