diff options
| author | Domain <[email protected]> | 2024-09-09 17:13:09 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-09-09 17:13:09 +0800 |
| commit | f2412c9cf9689863a1e6e97d693d55b80998cfba (patch) | |
| tree | 5945bc5e3728534b01059bef13b4b4738bb0ade4 /xmake/plugins | |
| parent | 1dfec9070bd8116c1910da1eb165ed7981e114bf (diff) | |
fix #5589
fix #5589
Diffstat (limited to 'xmake/plugins')
| -rw-r--r-- | xmake/plugins/project/vstudio/impl/vs201x_vcxproj_filters.lua | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj_filters.lua b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj_filters.lua index caed16b2a..82d19818e 100644 --- a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj_filters.lua +++ b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj_filters.lua @@ -97,9 +97,6 @@ function _make_filter(filepath, target, vcxprojdir) filter = path.normalize(path.directory(fileitem)) end end - if filter and filter == '.' then - filter = nil - end goto found_filter end end @@ -118,9 +115,9 @@ function _make_filter(filepath, target, vcxprojdir) if filter then filter = _strip_dotdirs(filter) end - if filter and filter == '.' then - filter = nil - end + end + if filter and filter == '.' then + filter = nil end return filter end |
