Просмотр исходного кода

make condition clearer for incremental compile

Brian Gough 9 лет назад
Родитель
Сommit
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.