mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -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")
|
LocalFileWriter = require("./LocalFileWriter")
|
||||||
|
|
||||||
filterName = (key) ->
|
filterName = (key) ->
|
||||||
return key.replace /\//, "_"
|
return key.replace /\//, "_"
|
||||||
|
|
||||||
|
|
||||||
module.exports =
|
module.exports =
|
||||||
|
@ -11,8 +11,8 @@ module.exports =
|
||||||
filteredTarget = filterName target
|
filteredTarget = filterName target
|
||||||
logger.log location:location, target:filteredTarget, source:source, "sending file"
|
logger.log location:location, target:filteredTarget, source:source, "sending file"
|
||||||
fs.rename source, "#{location}/#{filteredTarget}", (err) ->
|
fs.rename source, "#{location}/#{filteredTarget}", (err) ->
|
||||||
if err!=null
|
if err!=null
|
||||||
logger.err err:err, location:location, target:filteredTarget, source:source, "Error on put of file"
|
logger.err err:err, location:location, target:filteredTarget, source:source, "Error on put of file"
|
||||||
callback err
|
callback err
|
||||||
|
|
||||||
sendStream: ( location, target, sourceStream, callback = (err)->) ->
|
sendStream: ( location, target, sourceStream, callback = (err)->) ->
|
||||||
|
|
Loading…
Reference in a new issue