Merge pull request #2825 from Tyriar/debug_log

Use debug log level for open not attached to the DOM
This commit is contained in:
Daniel Imms
2020-04-10 07:50:51 -07:00
committed by GitHub
+1 -1
View File
@@ -476,7 +476,7 @@ export class Terminal extends Disposable implements ITerminal, IDisposable, IInp
}
if (!document.body.contains(parent)) {
this._logService.warn('Terminal.open was called on an element that was not attached to the DOM');
this._logService.debug('Terminal.open was called on an element that was not attached to the DOM');
}
this._document = parent.ownerDocument;