mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-01 13:12:24 -05:00
clean up unnecessary var
This commit is contained in:
parent
4169f7fc73
commit
cee93a0cd9
1 changed files with 1 additions and 2 deletions
|
@ -74,8 +74,7 @@ module.exports = OutputFileFinder = {
|
||||||
let fileList = stdout.trim().split('\n')
|
let fileList = stdout.trim().split('\n')
|
||||||
fileList = fileList.map(function (file) {
|
fileList = fileList.map(function (file) {
|
||||||
// Strip leading directory
|
// Strip leading directory
|
||||||
let path
|
return Path.relative(directory, file)
|
||||||
return (path = Path.relative(directory, file))
|
|
||||||
})
|
})
|
||||||
callback(null, fileList)
|
callback(null, fileList)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue