diff options
| author | ruki <[email protected]> | 2023-03-27 13:08:57 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-27 13:08:57 +0800 |
| commit | 6eb7f2203ad50d475e6e720b1506e9c046b43cdd (patch) | |
| tree | 088466bcdfbe9a529cd59bc284eb07ef2b22f8ac | |
| parent | 1707887122d93921572cd022c5319e234e32a921 (diff) | |
| parent | 4ac804843fb1a90ea063b619c856040057c25144 (diff) | |
Merge pull request #3566 from xq114/dev
fix xmake check for configfiles
| -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) |
