Skip to content

Commit

Permalink
feat: 为 BSD-2-Clause-Patent 协议添加替换规则
Browse files Browse the repository at this point in the history
  • Loading branch information
suiyun39 committed Jun 17, 2024
1 parent 636efc9 commit 7a0c486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/io/suiyun/chooseLicense/license/License.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class License(val spdxId: String, val content: String) {
.replace("[yyyy]", year)
}

"0BSD", "BSD-2-Clause", "BSD-3-Clause", "BSD-3-Clause-Clear", "BSD-4-Clause",
"0BSD", "BSD-2-Clause", "BSD-2-Clause-Patent", "BSD-3-Clause", "BSD-3-Clause-Clear", "BSD-4-Clause",
"MIT", "MIT-0", "ISC", "NCSA", "OFL-1.1", "PostgreSQL", "UPL-1.0", "Zlib" -> {
return content
.replace("[fullname]", author)
Expand Down

0 comments on commit 7a0c486

Please sign in to comment.