Skip to content

Commit 9b7b5fe

Browse files
Set POWERSHELL_UPDATECHECK environment variable to Off
This hides the annoying update messages that clog up logs when automating things.
1 parent 86bee46 commit 9b7b5fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wrapper.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ func main() {
191191
// Set environment variables
192192
os.Setenv("NO_COLOR", "1")
193193
// os.Setenv("TERM", "xterm-mono")
194+
os.Setenv("POWERSHELL_UPDATECHECK", "Off")
194195

195196
if os.Getenv("ENABLE_DEBUG_LOG") == "1" || forceDebug {
196197
os.Setenv("LOG_DEBUG", "1")

0 commit comments

Comments
 (0)