clean up unnecessary var

This commit is contained in:
Brian Gough 2020-12-18 15:17:20 +00:00
parent 4169f7fc73
commit cee93a0cd9

View file

@ -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)
}) })