Fixed method signature

This commit is contained in:
Víctor Zamanillo 2020-09-28 12:39:33 +02:00
parent 6bde867d08
commit 47b70b9fb0

View File

@ -18,7 +18,7 @@ func FolderExists(folderpath string) bool {
}
// HasStdin determines if the user has piped input
func hasStdin() bool {
func HasStdin() bool {
stat, err := os.Stdin.Stat()
if err != nil {
return false