diff --git a/CHANGELOG.md b/CHANGELOG.md index f52f032..48782f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index 17a13fd..955ebac 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/includes/kickstarter.ts b/src/includes/kickstarter.ts index c6df8df..529133e 100644 --- a/src/includes/kickstarter.ts +++ b/src/includes/kickstarter.ts @@ -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); }