Skip to content

Commit

Permalink
Fixed a bug that do not executed commands from tree view.
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelmaneuver committed Sep 1, 2024
1 parent dfc571d commit cd36f8b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 1.1.1

- Fixed a bug that do not executed commands from tree view

## 1.1.0

- Added the feature for command list tree view
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Command Launcher",
"description": "Toolbox to manage your extensions and terminal commands.",
"publisher": "Angelmaneuver",
"version": "1.1.0",
"version": "1.1.1",
"homepage": "https://github.com/Angelmaneuver/command-launcher/blob/main/README.md#command-launcher",
"repository": {
"type": "git",
Expand Down
8 changes: 7 additions & 1 deletion src/includes/kickstarter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,13 @@ async function terminalCommand(
start(guide.key, state, [state, ...(guide.args ??= [])]);
} else {
try {
executeTerminalCommand({ ...state, ...command });
executeTerminalCommand({
...state,
name: command.name,
terminalCommand: command.command,
autoRun: (command.autoRun ??= true),
singleton: (command.singleton ??= false),
});
} catch (e) {
errorHandling(e);
}
Expand Down

0 comments on commit cd36f8b

Please sign in to comment.