Skip to content

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

@sinkovitsd

Description

@sinkovitsd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions