File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,8 @@ import { compileSomething } from "./compiler-base";
99let ccChannel : OutputChannel ;
1010
1111export async function init ( context : ExtensionContext ) : Promise < void > {
12- const commandList = await commands . getCommands ( true ) ;
13- const exists = commandList . some ( c => c === "captions.compile" ) ;
14- if ( ! exists ) {
15- const ccCommand = commands . registerTextEditorCommand ( "captions.compile" , compileCaptions ) ;
16- context . subscriptions . push ( ccCommand ) ;
17- }
12+ const ccCommand = commands . registerTextEditorCommand ( "captions.compile" , compileCaptions ) ;
13+ context . subscriptions . push ( ccCommand ) ;
1814}
1915
2016async function compileCaptions ( editor : TextEditor ) : Promise < void > {
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ import * as vmt from "./language/LangVmt";
88import * as captions from "./language/LangCaptions" ;
99import * as keyvalue from "./language/LangKv" ;
1010import * as captionsCompile from "./compiler/captions-compile" ;
11- import * as modelCompile from "./compiler/captions -compile" ;
12- import * as performance from "./compiler/model-compile " ;
11+ import * as modelCompile from "./compiler/model -compile" ;
12+ import * as performance from "./performance " ;
1313import * as kvDetect from "./KvFileDetection" ;
1414
1515import * as packageJson from "../package.json" ;
You can’t perform that action at this time.
0 commit comments