Add TTY detection for non-interactive environments #275
Annotations
4 errors
|
Run Linter
issues found
|
|
Run Linter:
ui/ui_test.go#L123
os.Setenv() could be replaced by t.Setenv() in TestCanPrompt_NonInteractiveEnvVar (usetesting)
|
|
Run Linter:
ui/ui_test.go#L114
os.Setenv() could be replaced by t.Setenv() in TestCanPrompt_NonInteractiveEnvVar (usetesting)
|
|
Run Linter:
ui/ui_test.go#L100
File is not properly formatted (goimports)
|
Loading