Skip to content

Commit

Permalink
fix: json 파일을 찾지 못할 경우 빈 json 형식 반환
Browse files Browse the repository at this point in the history
  • Loading branch information
DWL21 committed Feb 12, 2025
1 parent 26c7c43 commit b6a67ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class TargetMapper {
return this::class.java.classLoader
.getResource(fileName)
?.readText()
?: throw IllegalStateException("Required JSON file not found")
?: "[]"
}

fun getMappedTarget(beforeTarget: String): String? {
Expand Down

0 comments on commit b6a67ab

Please sign in to comment.