mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
More linter fixes
This commit is contained in:
@@ -183,7 +183,9 @@ func DownloadFileWithProgress(destpath, url string, kill_if_signaled bool) (err
|
||||
return lp.OnWakeup()
|
||||
}
|
||||
|
||||
lp.AddTimer(rd.spinner.interval, true, on_timer_tick)
|
||||
if _, err = lp.AddTimer(rd.spinner.interval, true, on_timer_tick); err != nil {
|
||||
return
|
||||
}
|
||||
err = lp.Run()
|
||||
dl_data.mutex.Lock()
|
||||
if dl_data.temp_file_path != "" && !dl_data.download_finished {
|
||||
|
||||
Reference in New Issue
Block a user