mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-28 05:26:10 +02:00
v3 async until
This commit is contained in:
parent
d728ddea4c
commit
1ec721212d
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ function moveOrCopyFileWithCollisionHandling(src, dst, operation, cb) {
|
|||
}
|
||||
|
||||
async.until(
|
||||
() => opOk, // until moved OK
|
||||
(callback) => callback(null, opOk), // until moved OK
|
||||
(cb) => {
|
||||
if(0 === renameIndex) {
|
||||
// try originally supplied path first
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue