Skip to content

Commit 5c693b0

Browse files
committed
f
1 parent 22d8c2f commit 5c693b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.ci/check_caips.main.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ val config = CheckConfig("caip",
1313
mapOf(
1414
"title" to { },
1515
"status" to { value ->
16-
if (!listOf("Draft", "Active", "Review", "Final", "Superseded").contains(value)) throw IllegalArgumentException("Invalid status $value")
16+
if (!listOf("Draft", "Active", "Review", "Final", "Superseded").contains(value)) throw IllegalArgumentException("Invalid status '$value'")
1717
},
1818
"type" to { value ->
1919
if (!listOf("Meta", "Standard").contains(value)) throw IllegalArgumentException("Invalid status $value")
@@ -33,7 +33,7 @@ val config = CheckConfig("caip",
3333
try {
3434
println(checkFolder(File("CAIPs"), config))
3535
} catch (e: Exception) {
36-
println("Validation of DIPs failed")
36+
println("Validation of CAIPs failed")
3737
println("Reason: " + e.message)
3838
exitProcess(1)
3939
}

0 commit comments

Comments
 (0)