fix: output-windows displaying as status

This commit is contained in:
iCrawl 2019-08-03 14:33:51 +02:00
parent 6e3a6c8543
commit fa3205bea5
No known key found for this signature in database
GPG key ID: E41A6DB922EC2CFE

View file

@ -209,6 +209,7 @@ export default class Activity implements Disposable {
let workspaceFolder = null;
let fullDirname = null;
if (window.activeTextEditor) {
if (window.activeTextEditor.document.languageId === 'Log') return raw;
filename = basename(window.activeTextEditor.document.fileName);
const { dir } = parse(window.activeTextEditor.document.fileName);