Parcourir la source

Return when calling callback

James Allen il y a 13 ans
Parent
commit
7a3b78da43
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      services/track-changes/app/coffee/ConversionManager.coffee

+ 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