foundweekends / foundweekends/conscript

Conscript incorrectly reports "Repository not found on github" when it can't find a branch

Abierto
#108 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Bug
Lenguaje dominante
Scala
Estrellas
477
Forks
59
Merge medio
1 h 2 min
PR fusionados (30 d)
7

Descripción

When conscript fails to find the default "master" branch -- or the specified branch if one is specified -- then it incorrectly reports "Repository not found on github" rather than reporting that it cannot find the branch.

Example:
Type: cs sbt/sbt
Result: "Repository not found on github" because there is no "master" branch

Type: cs sbt/sbt --branch 0.13.12 # from http://www.scala-sbt.org/release/docs/Scripts.html
Result: Result: "Repository not found on github" because there is no 0.13.12 branch

Type: cs sbt/sbt --branch 0.13
Result: works (at the time of this writing)

This was very confusing as a complete newbie trying to figure out what was going wrong until I realized it simply wasn't findng the branch.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.