diff options
| -rw-r--r-- | xmake/modules/private/check/checkers/api/target/configfiles.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/private/check/checkers/api/target/configfiles.lua b/xmake/modules/private/check/checkers/api/target/configfiles.lua index a8965eebe..7df67bf71 100644 --- a/xmake/modules/private/check/checkers/api/target/configfiles.lua +++ b/xmake/modules/private/check/checkers/api/target/configfiles.lua @@ -24,6 +24,7 @@ import(".api_checker") function main(opt) opt = opt or {} api_checker.check_targets("configfiles", table.join(opt, {check = function(target, value) + value = value:gsub("[()]", "") local configfiles = os.files(value) if not configfiles or #configfiles == 0 then return false, string.format("configfiles '%s' not found", value) |
