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: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ 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.26.3] - 2025-06-27

### Fixed:

- Commands: Fixed issue where brew update output would be shown in a notification when upgrading Dev Proxy via homebrew

## [0.26.2] - 2025-06-27

### Changed:
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.26.2",
"version": "0.26.3",
"publisher": "garrytrinder",
"engines": {
"vscode": "^1.101.0"
Expand Down
7 changes: 4 additions & 3 deletions src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,11 @@ export const executeCommand = async (cmd: string, options: ExecOptions = {}): Pr
return new Promise((resolve, reject) => {
exec(cmd, options, (error, stdout, stderr) => {
if (error) {
reject(`exec error: ${error}`);
} else if (stderr) {
reject(`stderr: ${stderr}`);
// Command failed with non-zero exit code
reject(`exec error: ${error}${stderr ? `\nstderr: ${stderr}` : ''}`);
} else {
// Command succeeded (exit code 0), return stdout
// Note: Many tools like brew send informational messages to stderr even on success
resolve(stdout);
}
});
Expand Down