From b74e7f6feb4d8bfcaca301abdf2d715204199f24 Mon Sep 17 00:00:00 2001 From: Eric Mc Sween Date: Mon, 7 Dec 2020 15:25:52 -0500 Subject: [PATCH] Decaf cleanup: unnecessary returns --- services/document-updater/app/js/DiffCodec.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/document-updater/app/js/DiffCodec.js b/services/document-updater/app/js/DiffCodec.js index 457ae526d0..b00af1eeb6 100644 --- a/services/document-updater/app/js/DiffCodec.js +++ b/services/document-updater/app/js/DiffCodec.js @@ -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) } }