Exclude from config perspective, not exe
This commit is contained in:
@ -325,9 +325,9 @@ private immutable(Actions) actions()
|
||||
).any;
|
||||
|
||||
bool[string] to_be_deleted;
|
||||
foreach (file; loc.byKey)
|
||||
if ( !exclude(file) )
|
||||
to_be_deleted[file] = true;
|
||||
foreach (pair; loc.byKeyValue)
|
||||
if ( !exclude(pair.value.file) )
|
||||
to_be_deleted[pair.key] = true;
|
||||
|
||||
foreach (this_rem; rem.byValue)
|
||||
{
|
||||
@ -405,6 +405,7 @@ public void update()
|
||||
final switch(action.what)
|
||||
{
|
||||
case Action.remove:
|
||||
info("Remove %s", action.file);
|
||||
remove(action.file);
|
||||
break;
|
||||
case Action.download:
|
||||
|
||||
Reference in New Issue
Block a user