Skip to content

Commit 43fa514

Browse files
authored
Forbid empty defines, closes #2174 (#2309)
1 parent 74e689f commit 43fa514

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/_premake_init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,9 @@
364364
scope = "config",
365365
kind = "list:string",
366366
tokens = true,
367+
allowed = function(value)
368+
return iif(value == "", nil, value)
369+
end
367370
}
368371

369372
api.register {

0 commit comments

Comments
 (0)