mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 11:02: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.
|
--- on a file name string pattern match.
|
||||||
-- @local
|
-- @local
|
||||||
local function isExcluded(file, exclusionRule, ...)
|
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
|
if file:find(exclusionRule) then
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user