Explorar o código

make condition clearer for incremental compile

Brian Gough %!s(int64=9) %!d(string=hai) anos
pai
achega
e8435e3eae

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

@@ -137,7 +137,7 @@ module.exports = ClsiManager =
 					else
 					else
 						logger.log project_id: project_id, projectStateHash: projectStateHash, docs: docUpdaterDocs?, "checked project state"
 						logger.log project_id: project_id, projectStateHash: projectStateHash, docs: docUpdaterDocs?, "checked project state"
 					# see if we can send an incremental update to the CLSI
 					# 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
 						# Workaround: for now, always flush project to mongo on compile
 						# until we have automatic periodic flushing on the docupdater
 						# until we have automatic periodic flushing on the docupdater
 						# side, to prevent documents staying in redis too long.
 						# side, to prevent documents staying in redis too long.