Skip to content

Commit

Permalink
feat: 补充遗漏的替换规则
Browse files Browse the repository at this point in the history
  • Loading branch information
suiyun39 committed Jan 15, 2024
1 parent d1acec0 commit cbbf354
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/kotlin/sh/suiyun/chooseLicense/license/License.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ 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", "MIT", "MIT-0", "ISC" -> {
"0BSD", "BSD-2-Clause", "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)
.replace("[year]", year)
Expand Down

0 comments on commit cbbf354

Please sign in to comment.