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>
This commit is contained in:
xiejiahe 2026-01-20 08:20:02 +08:00 committed by GitHub
commit 158fd41a8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,6 @@ import (
"encoding/hex"
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"strings"
@ -29,7 +28,7 @@ func checkError(err error) {
func mute() {
originalOutput = Output
Output = ioutil.Discard
Output = io.Discard
}
func unmute() {