windows summery use 'create'

This commit is contained in:
Dan Ballard 2018-05-13 10:11:11 -07:00
parent c4668d3d6c
commit f20fd9f966
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ func main() {
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
var err error var err error
ph.File, err = os.Open("summary.md") ph.File, err = os.Create("summary.md")
if err != nil { if err != nil {
log.Fatal("Cannot open summary.md: ", err) log.Fatal("Cannot open summary.md: ", err)
} }