Skip to content

Commit a5d5bf0

Browse files
DenzellceWolf
authored andcommitted
fix preset condition inList (#305)
1 parent 943438b commit a5d5bf0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/cmake-tools/preset.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ local function resolveConditions(self)
8686
if type(entry) ~= "string" then
8787
error("list field must be of type string")
8888
end
89-
if cond.string == expandMacro(self, self, entry) then
89+
if cond.string == expandMacro(self, entry) then
9090
return true
9191
end
9292
end

0 commit comments

Comments
 (0)