Return when calling callback

This commit is contained in:
James Allen 2013-08-09 13:51:02 +01:00
parent 07f078b527
commit 7a3b78da43

View file

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