keep .empty
This commit is contained in:
parent
a2d46e9d3d
commit
06e41006a2
@ -19,7 +19,7 @@ module.exports = (bot, trigger, lib) => {
|
||||
items_dest.push(e.dest);
|
||||
});
|
||||
dir_b.forEach((e,i,a) => {
|
||||
if( items_dest.indexOf('./b/'+e) === -1 ) {
|
||||
if( items_dest.indexOf('./b/'+e) === -1 && e != '.empty' ) {
|
||||
failed_dests.push(e);
|
||||
fs.unlink('./b/'+e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user