From 4fad53879aad1f7b760298bf37316a0a6646fb94 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 13:37:22 +0000 Subject: [PATCH 1/2] feat: Updated lua/hurl/main.lua --- lua/hurl/main.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/hurl/main.lua b/lua/hurl/main.lua index cf55ad8..6d9bc45 100644 --- a/lua/hurl/main.lua +++ b/lua/hurl/main.lua @@ -56,6 +56,7 @@ local function find_env_files(file, root_dir, cache_dir, current_file_dir, scan_ table.sort(files, function(a, b) return #a.path > #b.path end) + utils.log_info('hurl: Constructed paths for ENV files: ' .. vim.inspect(files)) return files end @@ -210,7 +211,8 @@ local function execute_hurl_cmd(opts, callback) local cmd = vim.list_extend({ 'hurl', '-i', '--no-color' }, opts) response = {} - utils.log_info('hurl: running command' .. vim.inspect(cmd)) + utils.log_info('hurl: opts parameter values: ' .. vim.inspect(opts)) +utils.log_info('hurl: running command' .. vim.inspect(cmd)) vim.fn.jobstart(cmd, { on_stdout = callback or on_output, From d1dd37338e6af493ee8f56e1bb5320f8f00b206b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 13:38:18 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- lua/hurl/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/hurl/main.lua b/lua/hurl/main.lua index 6d9bc45..3ea6099 100644 --- a/lua/hurl/main.lua +++ b/lua/hurl/main.lua @@ -212,7 +212,7 @@ local function execute_hurl_cmd(opts, callback) response = {} utils.log_info('hurl: opts parameter values: ' .. vim.inspect(opts)) -utils.log_info('hurl: running command' .. vim.inspect(cmd)) + utils.log_info('hurl: running command' .. vim.inspect(cmd)) vim.fn.jobstart(cmd, { on_stdout = callback or on_output,