Skip to content

Commit cc011d8

Browse files
committed
feat: Update provider fn signature to receive fname and cwd
closes #246
1 parent c474060 commit cc011d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/guard/lint.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function M.do_lint_single(buf, config)
117117
end)
118118
end)
119119
else
120-
data = lint.fn(prev_lines)
120+
data = lint.fn(prev_lines, fname, cwd)
121121
if #data > 0 then
122122
results = lint.parse(data, buf, fname, cwd)
123123
end

0 commit comments

Comments
 (0)