fix indentation of comment

This commit is contained in:
Brian Gough 2018-03-26 15:57:10 +01:00
parent fe8897d757
commit 61b192fb2c

View file

@ -224,9 +224,9 @@ module.exports = ProjectEntityUpdateHandler = self =
callback(null, doc, folder_id, result?.path?.fileSystem) callback(null, doc, folder_id, result?.path?.fileSystem)
addFileWithoutUpdatingHistory: wrapWithLock addFileWithoutUpdatingHistory: wrapWithLock
# This method should never be called directly, except when importing a project # This method should never be called directly, except when importing a project
# from Overleaf. It skips sending updates to the project history, which will break # from Overleaf. It skips sending updates to the project history, which will break
# the history unless you are making sure it is updated in some other way. # the history unless you are making sure it is updated in some other way.
beforeLock: (next) -> beforeLock: (next) ->
(project_id, folder_id, fileName, fsPath, linkedFileData, userId, callback) -> (project_id, folder_id, fileName, fsPath, linkedFileData, userId, callback) ->
ProjectEntityUpdateHandler.uploadFile project_id, folder_id, fileName, fsPath, linkedFileData, userId, (error, fileRef, fileStoreUrl) -> ProjectEntityUpdateHandler.uploadFile project_id, folder_id, fileName, fsPath, linkedFileData, userId, (error, fileRef, fileStoreUrl) ->