File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 5555--- Retrieves the path of the logfile
5656--- @return string path path of the logfile
5757function log :get_path ()
58- return u .path .join (vim .fn .stdpath (" cache " ) --[[ @as string]] , " null-ls.log" )
58+ return u .path .join (vim .fn .stdpath (" log " ) --[[ @as string]] , " null-ls.log" )
5959end
6060
6161--- Add a log entry at TRACE level
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ local logger = require("null-ls.logger")
22
33describe (" logger" , function ()
44 it (" get_path should return log file path from cache folder" , function ()
5- local expected = vim .fn .stdpath (" cache " ) .. " /" .. " null-ls.log"
5+ local expected = vim .fn .stdpath (" log " ) .. " /" .. " null-ls.log"
66 assert .equals (expected , logger :get_path ())
77 end )
88end )
You can’t perform that action at this time.
0 commit comments