remove unnecessary returns

This commit is contained in:
Brian Gough 2020-12-18 15:02:40 +00:00
parent eaec57cd01
commit 0bae53c7f3

View file

@ -9,7 +9,6 @@
/* /*
* decaffeinate suggestions: * decaffeinate suggestions:
* DS101: Remove unnecessary use of Array.from * DS101: Remove unnecessary use of Array.from
* DS102: Remove unnecessary code created because of implicit returns
* DS103: Rewrite code to no longer use __guard__ * DS103: Rewrite code to no longer use __guard__
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md * Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
*/ */
@ -43,7 +42,7 @@ module.exports = OutputFileFinder = {
}) })
} }
} }
return callback(null, outputFiles, allFiles) callback(null, outputFiles, allFiles)
}) })
}, },
@ -90,7 +89,7 @@ module.exports = OutputFileFinder = {
let path let path
return (path = Path.relative(directory, file)) return (path = Path.relative(directory, file))
}) })
return callback(null, fileList) callback(null, fileList)
}) })
}, },
} }