Limit linting to local files

This commit is contained in:
Jonathan Carter 2018-04-21 10:42:59 -07:00
parent 1e0128fd33
commit 8da29376e3

View file

@ -63,7 +63,7 @@ export function deactivate() {
} }
function _handleContextChange(editor: vsc.TextEditor): void { function _handleContextChange(editor: vsc.TextEditor): void {
if (!editor || !editor.document) { if (!editor || !editor.document || editor.document.uri.scheme !== "file") {
return; return;
} }