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 55
55
--- Retrieves the path of the logfile
56
56
--- @return string path path of the logfile
57
57
function 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" )
59
59
end
60
60
61
61
--- 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")
2
2
3
3
describe (" logger" , function ()
4
4
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"
6
6
assert .equals (expected , logger :get_path ())
7
7
end )
8
8
end )
You can’t perform that action at this time.
0 commit comments