mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 23:23:37 +01:00
[PR #1028] [MERGED] Fix incorrect substring #860
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1028
Author: @bioball
Created: 3/26/2025
Status: ✅ Merged
Merged: 4/15/2025
Merged by: @bioball
Base:
main← Head:fix-pkldoc-package-data-generator📝 Commits (1)
441c0ecFix incorrect substring📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
pkl-doc/src/main/kotlin/org/pkl/doc/PackageDataGenerator.kt(+3 -1)📄 Description
This fixes an issue that can possibly cause a StringIndexOutOfBoundsException when generating pkldoc.
The relative path should be based off the module name prefix, not the package name.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.