Skip to content

Commit

Permalink
fix: port when no args
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoust committed Nov 3, 2024
1 parent 92fa635 commit c5834cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/sour/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func main() {
zerolog.SetGlobalLevel(zerolog.InfoLevel)

if len(os.Args) == 1 {
CLI.Serve.Port = -1
err := serveCommand([]string{})
if err != nil {
writeError(err)
Expand Down

0 comments on commit c5834cf

Please sign in to comment.