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