diff --git a/package-lock.json b/package-lock.json index 7749f0f..0e1ffb3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "amalgam-lang", - "version": "1.2.0", + "version": "1.2.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "amalgam-lang", - "version": "1.2.0", + "version": "1.2.1", "license": "AGPL-3.0-only", "dependencies": { "@vscode/debugadapter": "^1.59.0", diff --git a/package.json b/package.json index ee47b4c..8971118 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "amalgam-lang", - "version": "1.2.0", + "version": "1.2.1", "type": "commonjs", "publisher": "howso", "displayName": "Amalgam Language", diff --git a/src/debugger/session.ts b/src/debugger/session.ts index c12e57c..5ee3940 100644 --- a/src/debugger/session.ts +++ b/src/debugger/session.ts @@ -503,7 +503,7 @@ export class AmalgamDebugSession extends LoggingDebugSession { try { const executableVersion = await this.getExecutableVersion(executable); outputLogger.info(`Amalgam Version: ${executableVersion}`); - if (semver.lt(executableVersion, "50.0.2")) { + if (semver.gt(executableVersion, "0.0.0") && semver.lt(executableVersion, "50.0.2")) { this.setDebuggerLinesStartAt1(false); this.setDebuggerColumnsStartAt1(false); outputLogger.debug("Line numbers set to 0-based");