linter appeasement

This commit is contained in:
vilmibm 2020-10-05 15:19:49 -05:00
parent 974c6d8958
commit fa68a3a858

View file

@ -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 {