fix bad hover title for debug internal module

This commit is contained in:
Benjamin Pasero 2017-01-05 15:53:39 +01:00
parent 0642999457
commit da493459df

View file

@ -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);