mirror of https://github.com/xwiki-labs/cryptpad
Fix DRY_RUN issue
This commit is contained in:
parent
ff3a40aa31
commit
d92636bcf8
|
@ -760,6 +760,7 @@ module.exports = function (Env, cb) {
|
|||
}).nThen(function (w) {
|
||||
if (Env.DRY_RUN) {
|
||||
archived++;
|
||||
w.abort();
|
||||
return void Log.info("EVICT_CHANNEL_ARCHIVAL_DRY_RUN", item.channel, cb);
|
||||
}
|
||||
return void store.archiveChannel(item.channel, 'INACTIVE', w(function (err) {
|
||||
|
|
Loading…
Reference in New Issue