Skip to content

Commit 158fd41

Browse files
fix(v2): Replace ioutl.Discard with io.Discard (#4877)
* fix(v2): Replace ioutl.Discard with io.Discard * docs: Update website changelog --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
1 parent fc2b730 commit 158fd41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

v2/internal/s/s.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import (
55
"encoding/hex"
66
"fmt"
77
"io"
8-
"io/ioutil"
98
"os"
109
"path/filepath"
1110
"strings"
@@ -29,7 +28,7 @@ func checkError(err error) {
2928

3029
func mute() {
3130
originalOutput = Output
32-
Output = ioutil.Discard
31+
Output = io.Discard
3332
}
3433

3534
func unmute() {

website/src/pages/changelog.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424
- Fixed link to CoC in Community Guide when there was a trailing slash by @agilgur5 in [#4732](https://github.com/wailsapp/wails/pull/4732)
2525
- Fixed indentation in "How does it work?" page by @agilgur5 in [#4733](https://github.com/wailsapp/wails/pull/4733)
2626
- Updated wails installation documentation to allow copying the `install wails` command with one click by @tilak999 in [#4692](https://github.com/wailsapp/wails/pull/4692)
27+
- Remove ioutl.Discard and replace it with io.Discard by @xjh22222228 in [#4877](https://github.com/wailsapp/wails/pull/4877)
2728

2829
## v2.11.0 - 2025-11-08
2930

0 commit comments

Comments
 (0)