mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Update FileHandler.coffee: ignore any error that happens while deleting directory during insertFile.
This commit is contained in:
parent
df6b5132c2
commit
a9be97622b
1 changed files with 0 additions and 1 deletions
|
@ -12,7 +12,6 @@ module.exports =
|
|||
insertFile: (bucket, key, stream, callback)->
|
||||
convetedKey = KeyBuilder.getConvertedFolderKey(key)
|
||||
PersistorManager.deleteDirectory bucket, convetedKey, (error) ->
|
||||
return callback(error) if error?
|
||||
PersistorManager.sendStream bucket, key, stream, callback
|
||||
|
||||
deleteFile: (bucket, key, callback)->
|
||||
|
|
Loading…
Reference in a new issue