Files
fn-serverless/cli/run_others.go
Travis Reeder 48e3781d5e Rename to GitHub (#3)
* circle

* Rename to github and fn->cli

*  Rename to github and fn->cli
2017-07-26 10:50:19 -07:00

17 lines
205 B
Go

// +build !windows
package main
import (
"io"
"os"
)
func stdin() io.Reader {
stat, err := os.Stdin.Stat()
if err != nil || (stat.Mode()&os.ModeCharDevice) != 0 {
return nil
}
return os.Stdin
}