Преглед изворни кода

make condition clearer for incremental compile

Brian Gough пре 9 година
родитељ
комит
e8435e3eae
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/web/app/coffee/Features/Compile/ClsiManager.coffee

+ 1 - 1
services/web/app/coffee/Features/Compile/ClsiManager.coffee

@@ -137,7 +137,7 @@ module.exports = ClsiManager =
 					else
 						logger.log project_id: project_id, projectStateHash: projectStateHash, docs: docUpdaterDocs?, "checked project state"
 					# see if we can send an incremental update to the CLSI
-					if docUpdaterDocs? and options.syncType isnt "full" and not error?
+					if docUpdaterDocs? and (options.syncType isnt "full") and not error?
 						# Workaround: for now, always flush project to mongo on compile
 						# until we have automatic periodic flushing on the docupdater
 						# side, to prevent documents staying in redis too long.