Skip to content

Commit

Permalink
fix: remove duplicate error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill committed Apr 26, 2024
1 parent 8607542 commit 856c35a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions global/terminal/double_click_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ func NoMoreDoubleClick() error {
return nil
}
f, err := os.OpenFile("go-cqhttp.bat", os.O_CREATE|os.O_RDWR, 0o666)
if err != nil {
return err
}
if err != nil {
return errors.Errorf("打开go-cqhttp.bat失败: %v", err)
}
Expand Down

0 comments on commit 856c35a

Please sign in to comment.