Skip to content

Commit

Permalink
Update scripts/encode-metacomment/main.go
Browse files Browse the repository at this point in the history
Co-authored-by: ICHINOSE Shogo <[email protected]>
  • Loading branch information
haya14busa and shogo82148 authored Jun 30, 2024
1 parent 414751e commit 654a834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/encode-metacomment/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var toolName = flag.String("tool-name", "", "tool-name")

func main() {
flag.Parse()
if fprint == nil || toolName == nil {
if *fprint == "" || *toolName == "" {
fmt.Println("Set both -fprint and -tool-name flags")
os.Exit(1)
}
Expand Down

0 comments on commit 654a834

Please sign in to comment.