mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
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:
parent
fc2b7309c1
commit
158fd41a8b
2 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue