Fix #5
All checks were successful
/ build (push) Successful in 22s

This commit is contained in:
Sebastiaan de Schaetzen 2024-10-18 11:19:35 +02:00
parent 2d2af5e5b9
commit d71e38f5db

View File

@ -157,6 +157,10 @@ func ActionUseBoard(args []string) {
} }
func ActionUseCurrentSprint(_ []string) { func ActionUseCurrentSprint(_ []string) {
if !HasBoard() {
printError("Please select a board first", nil)
return
}
boardId := GetBoardId() boardId := GetBoardId()
sprint, err := GetCurrentSprint(boardId) sprint, err := GetCurrentSprint(boardId)
if err != nil { if err != nil {