mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 02:52:20 +00:00
prevent '' from excluding files in isExcluded
This commit is contained in:
@@ -87,7 +87,7 @@ end
|
||||
--- on a file name string pattern match.
|
||||
-- @local
|
||||
local function isExcluded(file, exclusionRule, ...)
|
||||
if exclusionRule == nil then return false end
|
||||
if exclusionRule == nil or exclusionRule == '' then return false end
|
||||
if file:find(exclusionRule) then
|
||||
return true
|
||||
else
|
||||
|
Reference in New Issue
Block a user