mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-16 19:11:05 +00:00
Decaf cleanup: unnecessary returns
This commit is contained in:
parent
a91770e979
commit
b74e7f6feb
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue