Decaf cleanup: unnecessary returns

This commit is contained in:
Eric Mc Sween 2020-12-07 15:25:52 -05:00
parent a91770e979
commit b74e7f6feb

View file

@ -9,7 +9,6 @@
// Fix any style issues and re-enable lint.
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* DS207: Consider shorter variations of null checks
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
*/
@ -51,6 +50,6 @@ module.exports = DiffCodec = {
throw 'Unknown type'
}
}
return callback(null, ops)
callback(null, ops)
}
}