import * as vscode from 'vscode' ; import ExtensionLogic from './models/index' ; import { setExtensionContext } from './util/vscodeUtil' ; export function activate ( context ) { setExtensionContext ( context ) ; const autoCommit = vscode . commands . registerCommand ( 'extension.autoCommit' , ( ) => { const extensionLogic = new ExtensionLogic ( context ) ; extensionLogic . init ( ) ; } ) ; context . subscriptions . push ( autoCommit ) ; } export function deactivate ( ) { }