Skip to content

Commit

Permalink
Fix wrong path logged when generating from jar-file (#72)
Browse files Browse the repository at this point in the history
Closes: #70
  • Loading branch information
tajakobsen authored Sep 25, 2024
1 parent cd6600d commit 0b193af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/no/item/xp/plugin/GenerateCodeTask.kt
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ open class GenerateCodeTask
val targetFile = File(indexFilePath.toUri())

writeTargetFile(targetFile, fileContent, prependText, singleQuote)
logger.lifecycle("Updated file: ${targetFilePath.toUri()}")
logger.lifecycle("Updated file: ${Path.of(targetFile.toURI()).toUri()}")
},
)
}
Expand Down

0 comments on commit 0b193af

Please sign in to comment.