mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-12 03:21:33 +00:00
Fix failing checks
This commit is contained in:
@@ -3,10 +3,10 @@ package console
|
||||
import (
|
||||
"syscall"
|
||||
|
||||
"golang.org/x/crypto/ssh/terminal"
|
||||
"golang.org/x/term"
|
||||
)
|
||||
|
||||
// RunningOnTerminal checks whether stdout is terminal
|
||||
func RunningOnTerminal() bool {
|
||||
return terminal.IsTerminal(syscall.Stdout)
|
||||
return term.IsTerminal(syscall.Stdout)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user