mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 21:55:29 +02:00
gofmt
This commit is contained in:
@@ -56,7 +56,7 @@ func init() {
|
||||
if matches[1] == "" {
|
||||
panic(fmt.Errorf("Failed to find the default_pager_for_help"))
|
||||
}
|
||||
text := strings.ReplaceAll("[" + matches[1] + "]", "'", "\"")
|
||||
text := strings.ReplaceAll("["+matches[1]+"]", "'", "\"")
|
||||
err = json.Unmarshal([]byte(text), &DefaultPager)
|
||||
if err != nil {
|
||||
fmt.Fprintln(os.Stderr, "Failed to unmarshal default pager text:", text)
|
||||
|
||||
Reference in New Issue
Block a user