We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfaaeab commit e7402b4Copy full SHA for e7402b4
1 file changed
main.go
@@ -50,6 +50,13 @@ func run(owner, name string) error {
50
if err != nil {
51
return err
52
}
53
+ if len(repos) == 0 {
54
+ prep := "with"
55
+ if *classroom {
56
+ prep = "without"
57
+ }
58
+ fmt.Fprintf(os.Stderr, "No entries. Try again %s the --classroom option.\n", prep)
59
60
var entries []repoEntry
61
for _, repo := range repos {
62
entries = append(entries, repoEntry{Dir: repoAuthor(repo, name), URL: repo.URL})
0 commit comments