fix: remove slice bounds panic in mol run output (bd-987a)
The code assumed rootID was at least 8 chars, but issue IDs like 'gt-i4lo' are only 7 chars (prefix-hash format). Simply use the full ID instead of truncating - IDs are already short enough for display.
This commit is contained in:
@@ -127,7 +127,7 @@ func runMolRun(cmd *cobra.Command, args []string) {
|
||||
fmt.Printf(" Assignee: %s\n", actor)
|
||||
fmt.Println("\nNext steps:")
|
||||
fmt.Printf(" bd ready # Find unblocked work in this molecule\n")
|
||||
fmt.Printf(" bd show %s # View molecule status\n", rootID[:8])
|
||||
fmt.Printf(" bd show %s # View molecule status\n", rootID)
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
||||
Reference in New Issue
Block a user