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

Merged
dutchie031 merged 2 commits from feature/requireUpdates into main 2026-09-19 20:15:09 +00:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit 949d72c394 - Show all commits
+1 -1
View File
@@ -17,7 +17,7 @@ export interface ICompilationLogger {
writeLine(message: string): void; writeLine(message: string): void;
} }
export { CompilationError }; export { CompilationError, CompilationErrorType };
class Metrics { class Metrics {
public totalLinesRead : number = 0; public totalLinesRead : number = 0;
@@ -2,10 +2,9 @@
// Import the module and reference it with the alias vscode in your code below // Import the module and reference it with the alias vscode in your code below
import * as vscode from 'vscode'; import * as vscode from 'vscode';
import * as path from 'path'; 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 { Logger } from './logger';
import * as luaAddonsManager from './lua-addons-manager'; import * as luaAddonsManager from './lua-addons-manager';
import { CompilationErrorType } from '../../compiler/src/CompilationError';
const luaWorkSpaceSettingKey = "Lua.workspace"; const luaWorkSpaceSettingKey = "Lua.workspace";
const librarySettingsKey = "library"; const librarySettingsKey = "library";