compose-multiplatform
compose-multiplatform copied to clipboard
Fix changelog path not found error
Fixed the error with
java.io.FileNotFoundException: changelog.main.kts/../../CHANGELOG.md (Not a directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
at kotlin.io.FilesKt__FileReadWriteKt.readText(FileReadWrite.kt:125)
at kotlin.io.FilesKt__FileReadWriteKt.readText$default(FileReadWrite.kt:125)
at Changelog_main.<init>(changelog.main.kts:85)
it happens because without .canonicalFile there is no path resolving and this leads to the mentioned error.