tweak conditional

This commit is contained in:
meganrogge 2021-04-16 09:43:36 -07:00
parent f206da596e
commit 27539a2ef7
No known key found for this signature in database
GPG key ID: 3155C8B2F0428C81

View file

@ -33,7 +33,7 @@ export class TerminalDecorationsProvider implements IDecorationsProvider {
}
provideDecorations(resource: URI): IDecorationData | undefined {
if (resource.scheme !== TERMINAL_DECORATIONS_SCHEME) {
if (resource.scheme !== TERMINAL_DECORATIONS_SCHEME || !parseInt(resource.path)) {
return;
}