fix: avoid logging env in unit tests (#9885)

This commit is contained in:
Cian Johnston
2023-09-27 13:34:40 +01:00
committed by GitHub
parent d8515f02af
commit fad02081fc
3 changed files with 2 additions and 3 deletions
-1
View File
@@ -161,7 +161,6 @@ func (r *RootCmd) Command(subcommands []*clibase.Cmd) (*clibase.Cmd, error) {
},
),
Handler: func(i *clibase.Invocation) error {
// fmt.Fprintf(i.Stderr, "env debug: %+v", i.Environ)
// The GIT_ASKPASS environment variable must point at
// a binary with no arguments. To prevent writing
// cross-platform scripts to invoke the Coder binary