mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 15:19:02 +02:00
result path not in final cb
This commit is contained in:
@@ -29,9 +29,9 @@ checkFileConvert = (callback)->
|
||||
async.waterfall [
|
||||
(cb)->
|
||||
fs.copy("./tiny.pdf", imgPath, cb)
|
||||
(cb)-> fileConverter.thumbnail "./tiny.pdf", cb
|
||||
(cb)-> fileConverter.thumbnail imgPath, cb
|
||||
(resultPath, cb)-> fs.unlink resultPath, cb
|
||||
(resultPath, cb)-> fs.unlink imgPath, cb
|
||||
(cb)-> fs.unlink imgPath, cb
|
||||
], callback
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user