Skip to content

Commit

Permalink
fix fileconfig_add
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Mar 15, 2024
1 parent 033d921 commit d6939f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/core/project/target.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1753,7 +1753,7 @@ function _instance:fileconfig_add(sourcefile, info, opt)

-- we fetch orignal configs first if no user configs
local fileconfig = filesconfig[sourcefile]
if not filesconfig then
if not fileconfig then
fileconfig = table.clone(self:fileconfig(sourcefile, opt))
filesconfig[sourcefile] = fileconfig
end
Expand Down

0 comments on commit d6939f2

Please sign in to comment.