Skip to content

Commit

Permalink
not to panic in main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
JunNishimura committed Oct 13, 2024
1 parent d2be93a commit 9b8815a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
package main

import "github.com/JunNishimura/jsop/cmd"
import (
"fmt"

"github.com/JunNishimura/jsop/cmd"
)

func main() {
if err := cmd.Run(); err != nil {
panic(err)
fmt.Println(err)
}
}

0 comments on commit 9b8815a

Please sign in to comment.