Skip to content

Commit

Permalink
print warning when not clocked in
Browse files Browse the repository at this point in the history
  • Loading branch information
sbreitf1 committed Dec 4, 2024
1 parent 03271c9 commit 93d631f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ func main() {
}

if currentState != EntryTypeCome {
console.Printlnf("WARN clock is not ticking at the moment!")
os.Exit(2)
}
}
Expand Down Expand Up @@ -241,8 +242,6 @@ func process() error {
}
}

//TODO print warning "nicht eingestochen" in red

return nil
}

Expand Down

0 comments on commit 93d631f

Please sign in to comment.