Added Required logic if not found, and added better update logic

This commit is contained in:
2026-09-19 22:13:03 +02:00
parent dcd1bf25e7
commit 949d72c394
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export interface ICompilationLogger {
writeLine(message: string): void;
}
export { CompilationError };
export { CompilationError, CompilationErrorType };
class Metrics {
public totalLinesRead : number = 0;
@@ -2,10 +2,9 @@
// Import the module and reference it with the alias vscode in your code below
import * as vscode from 'vscode';
import * as path from 'path';
import { ScriptCompiler, ScriptCompilerOptions, CompilationError, ICompilationLogger } from 'dcs-script-compiler';
import { ScriptCompiler, ScriptCompilerOptions, CompilationError, ICompilationLogger, CompilationErrorType } from 'dcs-script-compiler';
import { Logger } from './logger';
import * as luaAddonsManager from './lua-addons-manager';
import { CompilationErrorType } from '../../compiler/src/CompilationError';
const luaWorkSpaceSettingKey = "Lua.workspace";
const librarySettingsKey = "library";