Skip to content

Commit

Permalink
improve cache
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jan 24, 2025
1 parent 8be99bc commit 578ba78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xmake/modules/core/project/depend.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ function _get_depfiles_parser(depfiles_format)
local parser = depfiles_parsers[depfiles_format]
if parser == nil then
parser = import("private.tools." .. depfiles_format .. ".parse_deps", {anonymous = true})
depfiles_parsers[depfiles_format] = parser
depfiles_parsers[depfiles_format] = parser or false
end
return parser
return parser or nil
end

-- load dependent info from the given file (.d)
Expand Down

0 comments on commit 578ba78

Please sign in to comment.