vendor/github.com/mattn/go-isatty/isatty_windows.go
changeset 260 445e01aede7e
parent 251 1c52a0eeb952
--- a/vendor/github.com/mattn/go-isatty/isatty_windows.go	Tue Aug 23 22:33:28 2022 +0200
+++ b/vendor/github.com/mattn/go-isatty/isatty_windows.go	Tue Aug 23 22:39:43 2022 +0200
@@ -1,5 +1,5 @@
-// +build windows
-// +build !appengine
+//go:build windows && !appengine
+// +build windows,!appengine
 
 package isatty
 
@@ -76,7 +76,7 @@
 }
 
 // getFileNameByHandle use the undocomented ntdll NtQueryObject to get file full name from file handler
-// since GetFileInformationByHandleEx is not avilable under windows Vista and still some old fashion
+// since GetFileInformationByHandleEx is not available under windows Vista and still some old fashion
 // guys are using Windows XP, this is a workaround for those guys, it will also work on system from
 // Windows vista to 10
 // see https://stackoverflow.com/a/18792477 for details