mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
remove unnecessary returns
This commit is contained in:
parent
eaec57cd01
commit
0bae53c7f3
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue