Skip to content

Commit 5b60337

Browse files
committed
fix inspection name
1 parent 8bf84e4 commit 5b60337

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
uses: actions/checkout@v6
2121
with:
2222
ref: ${{ github.ref }}
23+
- name: Run tests
24+
uses: burrunan/gradle-cache-action@v3
25+
with:
26+
arguments: check --no-daemon
2327
- name: Publish
2428
uses: burrunan/gradle-cache-action@v3
2529
with:

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: tests
22

33
on:
44
push:
5+
branches:
6+
- '*'
57
pull_request:
68

79
jobs:

inspections/src/main/kotlin/com/faendir/kotlin/autodsl/inspections/DslInspection.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ class DslInspection : LocalInspectionTool() {
7171
holder.registerProblem(
7272
lambda.functionLiteral.rBrace!!,
7373
if (group.size == 1) {
74-
"Missing property: ${group.first()}"
74+
"Missing property: ${group.first().name}"
7575
} else {
76-
"Missing property: One of ${group.joinToString()}"
76+
"Missing property: One of ${group.joinToString { it.name }}"
7777
},
7878
*group.map { InsertMissingFix(it.name, it.hasNestedBuilder) }.toTypedArray(),
7979
)

0 commit comments

Comments
 (0)