mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
fix tabbing
This commit is contained in:
parent
88cc89a0d1
commit
40e2cb1c6d
1 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ fs = require("fs")
|
|||
LocalFileWriter = require("./LocalFileWriter")
|
||||
|
||||
filterName = (key) ->
|
||||
return key.replace /\//, "_"
|
||||
return key.replace /\//, "_"
|
||||
|
||||
|
||||
module.exports =
|
||||
|
@ -11,8 +11,8 @@ module.exports =
|
|||
filteredTarget = filterName target
|
||||
logger.log location:location, target:filteredTarget, source:source, "sending file"
|
||||
fs.rename source, "#{location}/#{filteredTarget}", (err) ->
|
||||
if err!=null
|
||||
logger.err err:err, location:location, target:filteredTarget, source:source, "Error on put of file"
|
||||
if err!=null
|
||||
logger.err err:err, location:location, target:filteredTarget, source:source, "Error on put of file"
|
||||
callback err
|
||||
|
||||
sendStream: ( location, target, sourceStream, callback = (err)->) ->
|
||||
|
|
Loading…
Reference in a new issue