Skip to content

Commit

Permalink
Merge main into sweep/improve-variable-naming
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Mar 13, 2024
2 parents 92f8359 + 1bb1106 commit 58f83b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/hurl/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ function M.setup()

-- Run request at current line if there is a HTTP method
utils.create_cmd('HurlRunnerAt', function(opts)
local result = http.find_hurl_entry_positions_in_buffer()
local result = http.find_http_verb_positions_in_buffer()
if result.current > 0 and result.start_line and result.end_line then
utils.log_info(
'hurl: running request at line ' .. result.start_line .. ' to ' .. result.end_line
Expand Down Expand Up @@ -400,7 +400,7 @@ function M.setup()
utils.create_cmd('HurlVerbose', function(opts)
-- It should be the same logic with run at current line but with verbose flag
-- The response will be sent to quickfix
local result = http.find_hurl_entry_positions_in_buffer()
local result = http.find_http_verb_positions_in_buffer()
if result.current > 0 and result.start_line and result.end_line then
utils.log_info(
'hurl: running request at line ' .. result.start_line .. ' to ' .. result.end_line
Expand Down

0 comments on commit 58f83b8

Please sign in to comment.