Update root.go

This commit is contained in:
up9-github 2021-04-21 17:45:10 +03:00
parent f846a55353
commit 6714606901

View File

@ -19,7 +19,7 @@ func init() {
return rootCmd.Help() return rootCmd.Help()
} }
regex := regexp.MustCompile(args[0]) // MustCompile panics if expression cant be compiled into regex regex := regexp.MustCompile(args[0]) // TODO: show proper error message when this fails
mizu.Run(regex) mizu.Run(regex)
return nil return nil
} }