Skip to content

Commit

Permalink
fix
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 256a91f commit 5123b1f
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 5123b1f

Please sign in to comment.