Skip to content

Commit

Permalink
feat: Updated lua/hurl/main.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Mar 19, 2024
1 parent 2531f2a commit 4fad538
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/hurl/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 4fad538

Please sign in to comment.