Skip to content

Commit

Permalink
try-again
Browse files Browse the repository at this point in the history
Signed-off-by: thalles <lopthalles@gmail.com>
  • Loading branch information
thalleslmF committed Jul 30, 2021
1 parent e9c0fbb commit 310557d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions licence.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function hasCorrectCopyrightDate(copyrightFile, file, startDateLicense) {
let requiredDate = ''
console.log(file.year < new Date().getFullYear())
console.log(startDateLicense)
console.log(new Date().getFullYear())
if (file.status === 'modified'){
if(file.year < new Date().getFullYear()) {
requiredDate = `Copyright ${startDateLicense, new Date().getFullYear()}`
Expand Down

0 comments on commit 310557d

Please sign in to comment.