Răsfoiți Sursa

Return when calling callback

James Allen 13 ani în urmă
părinte
comite
7a3b78da43

+ 1 - 1
services/track-changes/app/coffee/ConversionManager.coffee

@@ -61,7 +61,7 @@ module.exports = ConversionManager =
 
 				if !lastCompressedUpdate?
 					# No saved versions, no raw updates, nothing to do
-					callback()
+					return callback()
 
 				compressedUpdates = [lastCompressedUpdate]
 				for rawUpdate in rawUpdates