summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/aotrix/plugins/build.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/aotrix/plugins/build.lua b/lua/aotrix/plugins/build.lua
index 86fc9a7..54d18af 100644
--- a/lua/aotrix/plugins/build.lua
+++ b/lua/aotrix/plugins/build.lua
@@ -148,8 +148,8 @@ return {
addCommandToJsonFile(created_command,
personal_command_json_path,
vim.fn.getcwd())
- current_command = created_command.command
- executeCommandInTerminal(current_command)
+ CURRENT_COMMAND = created_command.command
+ executeCommandInTerminal(CURRENT_COMMAND)
end
})
local input = Input({