windows summery use 'create'
This commit is contained in:
parent
c4668d3d6c
commit
f20fd9f966
|
@ -68,7 +68,7 @@ func main() {
|
|||
|
||||
if runtime.GOOS == "windows" {
|
||||
var err error
|
||||
ph.File, err = os.Open("summary.md")
|
||||
ph.File, err = os.Create("summary.md")
|
||||
if err != nil {
|
||||
log.Fatal("Cannot open summary.md: ", err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue