Skip to content

Commit 51e25fd

Browse files
committed
fix warning when run by filetype
1 parent 0085694 commit 51e25fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/code_runner/commands.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function M.run_code(filetype, user_argument)
5050
end
5151

5252
-- Fallback to project or file type execution
53-
local context = get_project():run(false)
53+
local context = get_project():run(nil, false)
5454
if not context then
5555
get_filetype():run()
5656
end

0 commit comments

Comments
 (0)