Skip to content

Commit

Permalink
Merge pull request #34 from thalleslmF/pr-209
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
thalleslmF authored Jul 30, 2021
2 parents 0c583a9 + 5123b1f commit cfc1c59
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions licence.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ function hasCorrectCopyrightDate(copyrightFile, file, startDateLicense) {
}else{
requiredDate = `Copyright ${new Date().getFullYear()}`
}
}
if (file.status === 'created'){
} else{
requiredDate = `Copyright ${new Date().getFullYear()}`
}
console.log(requiredDate)
Expand Down

0 comments on commit cfc1c59

Please sign in to comment.