import * as vscode from 'vscode' ; import { CheckPointExplorer } from './CheckPointExplorer' ; import { logger , initLogger } from './logger' ; export function activate ( context ) { if ( context ) { initLogger ( context . logPath ) ; new CheckPointExplorer ( context ) ; } else { throw new Error ( "Context is undefined" ) ; } } export function deactivate ( context ) { context . subscriptions . forEach ( element => { element . dispose ( ) ; } ) ; } export { logger } ;