Added Required logic if not found, and added better update logic
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user