Explorar o código

Return when calling callback

James Allen %!s(int64=13) %!d(string=hai) anos
pai
achega
7a3b78da43
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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