Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

> **Note**: odd version numbers, for example, `0.13.0`, are not included in this changelog. They are used to test the new features and fixes before the final release.

## [0.23.1] - Unreleased
## [0.23.2] - Unreleased

### Added:

Expand All @@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Snippets: Updated all snippets to use `v0.28.0` schema

### Fixed:

- Detection: Fixed issue with version not showing correctly when log level set lower than information

## [0.22.1] - 2025-05-02

### Added:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "dev-proxy-toolkit",
"displayName": "Dev Proxy Toolkit",
"description": "Makes it easy to create and update Dev Proxy configuration files.",
"version": "0.23.1",
"version": "0.23.2",
"publisher": "garrytrinder",
"engines": {
"vscode": "^1.89.0"
Expand Down
4 changes: 3 additions & 1 deletion src/detect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import * as vscode from 'vscode';
export const getVersion = async (devProxyExe: string) => {
try {
const version = await executeCommand(`${devProxyExe} --version`);
return version.trim();
const versionLines = version.trim().split('\n');
const lastLine = versionLines[versionLines.length - 1];
return lastLine.trim();
} catch (error) {
return "";
}
Expand Down