Skip to content

Commit e617dab

Browse files
authored
chore: bump go to 1.25.2 (#41)
1 parent 86c04dc commit e617dab

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/y3owk1n/govim
22

3-
go 1.21
3+
go 1.25.2
44

55
require (
66
github.com/BurntSushi/toml v1.3.2

internal/cli/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func sendCommand(action string) error {
7676
}
7777

7878
if !response.Success {
79-
return fmt.Errorf(response.Message)
79+
return fmt.Errorf("%s", response.Message)
8080
}
8181

8282
fmt.Println(response.Message)

internal/cli/status.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ var statusCmd = &cobra.Command{
2323
}
2424

2525
if !response.Success {
26-
return fmt.Errorf(response.Message)
26+
return fmt.Errorf("%s", response.Message)
2727
}
2828

2929
// Pretty print the status data
3030
fmt.Println("GoVim Status:")
31-
if data, ok := response.Data.(map[string]interface{}); ok {
31+
if data, ok := response.Data.(map[string]any); ok {
3232
if enabled, ok := data["enabled"].(bool); ok {
3333
status := "stopped"
3434
if enabled {

0 commit comments

Comments
 (0)