mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-20 07:24:41 +02:00
Make CodeQL happy
This commit is contained in:
@@ -178,10 +178,13 @@ func EntryPoint(root *cli.Command) {
|
||||
if err != nil {
|
||||
return 1, err
|
||||
}
|
||||
debounce_time_ms, err := strconv.ParseUint(args[1], 10, 64)
|
||||
debounce_time_ms, err := strconv.Atoi(args[1])
|
||||
if err != nil {
|
||||
return 1, err
|
||||
}
|
||||
if debounce_time_ms < 0 {
|
||||
return 0, fmt.Errorf("debounce_time must be >= 0")
|
||||
}
|
||||
config_paths := utils.Map(resolve_path, args[2:])
|
||||
if err = watch_for_kitty_config_changes(
|
||||
func() error { return signal_kitty_to_reload_config(kitty_pid) },
|
||||
|
||||
Reference in New Issue
Block a user