linter appeasement
This commit is contained in:
parent
974c6d8958
commit
fa68a3a858
1 changed files with 2 additions and 2 deletions
|
|
@ -178,12 +178,12 @@ func gardenRun(opts *GardenOptions) error {
|
|||
}
|
||||
|
||||
maxCommits := (geo.Width * geo.Height) / 2
|
||||
|
||||
|
||||
sttyFileArg := "-F"
|
||||
if runtime.GOOS == "darwin" {
|
||||
sttyFileArg = "-f"
|
||||
}
|
||||
|
||||
|
||||
oldTTYCommand := exec.Command("stty", sttyFileArg, "/dev/tty", "-g")
|
||||
oldTTYSettings, err := oldTTYCommand.CombinedOutput()
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue