Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
Signed-off-by: thalles <[email protected]>
  • Loading branch information
thalleslmF committed Jul 30, 2021
1 parent 6e57777 commit b7e019a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions licence.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,15 @@ const checkLicense = async (fileNames, config) => {
}
)
const filesFiltered = removeIgnoredFiles(filesPr, fileNames)
await Promise.all(filesFiltered.map(
const filesWithYear = await Promise.all(filesFiltered.map(
(file) => {
return {
...file,
year : getCreationYear(file, config)
}
}))
console.log(filesFiltered)
return await checkFilesLicense(filesFiltered, config)
console.log(filesWithYear)
return await checkFilesLicense(filesWithYear, config)

}

Expand Down

0 comments on commit b7e019a

Please sign in to comment.