Skip to content

Commit

Permalink
feat(cache): In case of no home environment, default to caching in CWD (
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Mar 29, 2022
1 parent 2c501a6 commit dad2393
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/luacheck/cache.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function cache.get_default_dir()
end
end
end
return fs.join(fs.get_current_dir(), ".luacheck_cache")
end

local format_version = "1"
Expand Down

0 comments on commit dad2393

Please sign in to comment.