mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 11:01:56 +02:00
use projectStateUnchanged instead of stateOk
This commit is contained in:
@@ -123,11 +123,11 @@ module.exports = ClsiManager =
|
||||
if project.compiler not in ClsiManager.VALID_COMPILERS
|
||||
project.compiler = "pdflatex"
|
||||
|
||||
ClsiStateManager.checkProjectStateMatch project_id, project, (error, stateOk, projectStateHash) ->
|
||||
ClsiStateManager.checkProjectStateMatch project_id, project, (error, projectStateUnchanged, projectStateHash) ->
|
||||
return callback(error) if error?
|
||||
logger.log project_id: project_id, checkState: stateOk, "checked project state"
|
||||
logger.log project_id: project_id, projectStateUnchanged: projectStateUnchanged, "checked project state"
|
||||
# see if we can send an incremental update to the CLSI
|
||||
if stateOk and options.syncType isnt "full"
|
||||
if projectStateUnchanged and options.syncType isnt "full"
|
||||
ClsiManager._getContentFromDocUpdater project_id, (error, docUpdaterDocs) ->
|
||||
return callback(error) if error?
|
||||
ProjectEntityHandler.getAllDocPathsFromProject project, (error, docPath) ->
|
||||
|
||||
Reference in New Issue
Block a user