Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions v2/internal/s/s.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"encoding/hex"
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"strings"
Expand All @@ -29,7 +28,7 @@ func checkError(err error) {

func mute() {
originalOutput = Output
Output = ioutil.Discard
Output = io.Discard
}

func unmute() {
Expand Down
1 change: 1 addition & 0 deletions website/src/pages/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed link to CoC in Community Guide when there was a trailing slash by @agilgur5 in [#4732](https://github.com/wailsapp/wails/pull/4732)
- Fixed indentation in "How does it work?" page by @agilgur5 in [#4733](https://github.com/wailsapp/wails/pull/4733)
- 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)
- Remove ioutl.Discard and replace it with io.Discard by @xjh22222228 in [#4877](https://github.com/wailsapp/wails/pull/4877)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix typo: "ioutl" should be "ioutil".

The deprecated Go package is io/ioutil, so the changelog entry should reference ioutil.Discard (with an 'i'), not ioutl.Discard.

📝 Suggested fix
-- Remove ioutl.Discard and replace it with io.Discard by @xjh22222228 in [#4877](https://github.com/wailsapp/wails/pull/4877)
+- Replace deprecated ioutil.Discard with io.Discard by @xjh22222228 in [#4877](https://github.com/wailsapp/wails/pull/4877)
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- Remove ioutl.Discard and replace it with io.Discard by @xjh22222228 in [#4877](https://github.com/wailsapp/wails/pull/4877)
- Replace deprecated ioutil.Discard with io.Discard by @xjh22222228 in [#4877](https://github.com/wailsapp/wails/pull/4877)
🤖 Prompt for AI Agents
In @website/src/pages/changelog.mdx at line 26, Fix the typo in the changelog
entry by replacing "ioutl.Discard" with the correct symbol "ioutil.Discard";
update the text that currently references ioutl.Discard (from the PR note by
@xjh22222228) so it correctly mentions the deprecated Go package io/ioutil and
uses "ioutil.Discard".


## v2.11.0 - 2025-11-08

Expand Down
Loading