Skip to content

Commit

Permalink
Delete other license files
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Aug 1, 2024
1 parent 529bcf2 commit 3d966b4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ object GenerateCommand: CliktCommand(
val generate = meta.files.license.generate
val update = meta.files.license.update || forceUpdate
if (meta.files.license.markdown) {
if (update) repoDir.resolve("LICENSE").deleteIfExists()
generate("LICENSE.md", generate, update)
} else {
if (update) repoDir.resolve("LICENSE.md").deleteIfExists()
generate("LICENSE", generate, update)
}
}
Expand Down

0 comments on commit 3d966b4

Please sign in to comment.