mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-09 17:52:39 -05:00
Fixes logging to clean up on extension deactivate
This commit is contained in:
@@ -27,6 +27,8 @@ import { Logger } from './logger';
|
||||
|
||||
// this method is called when your extension is activated
|
||||
export async function activate(context: ExtensionContext) {
|
||||
Logger.configure(context);
|
||||
|
||||
// Workspace not using a folder. No access to git repo.
|
||||
if (!workspace.rootPath) {
|
||||
Logger.warn('GitLens inactive: no rootPath');
|
||||
|
||||
Reference in New Issue
Block a user