Skip to content

Commit fff4ff8

Browse files
chore: autoformat with stylua
1 parent 34f3fe9 commit fff4ff8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lua/rest-nvim/parser/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ function parser.parse_redirect_path(node, source, ctx)
323323
local path = get_node_field_text(node, "path", source)
324324
if path then
325325
path = expand_variables(path, ctx)
326-
return function (res)
326+
return function(res)
327327
if not res.body then
328328
return
329329
end

spec/parser/http_parser_spec.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ Authorization: Bearer {{TOKEN}}
311311
}, c.lv)
312312
end)
313313

314-
it("parse response-redirect syntax", function ()
314+
it("parse response-redirect syntax", function()
315315
local source = "GET localhost:3000\n\n>> path/to/file.json\n"
316316
local _, tree = utils.ts_parse_source(source)
317317
local node = assert(tree:root():child(0))

0 commit comments

Comments
 (0)