gh-classroom icon indicating copy to clipboard operation
gh-classroom copied to clipboard

gh classroom clone student-repos crashing with "panic: runtime error: index out of range [1] with length 1"

Open sinkovitsd opened this issue 11 months ago • 2 comments

I'm new to GitHub classroom CLI. It worked flawlessly for the first two assignments, but the third and fourth assignments crash when I try to clone them using gh classroom clone student-repos. (The fifth worked fine, oddly.) It doesn't matter if I choose from the menu or explicitly access the assignment by its id. using -a.

What happens is that it clones some number of them but then crashes with a peculiar error: panic: runtime error: index out of range [1] with length 1

It always crashes in the same place for a particular assignment, but one assignment clones 19 before crashing and the other only clones 4.

image

sinkovitsd avatar Mar 13 '24 21:03 sinkovitsd