Close file

master
Yasuhiro Matsumoto 9 years ago
parent f76c1381d7
commit 11292fb916

@ -309,6 +309,7 @@ func (attr Attr) prettyUpdatedAt() string {
func (attr Attr) Filepath() string {
f, err := ioutil.TempFile("", "eton-edit")
check(err)
f.Close()
writeToFile(f.Name(), attr.GetValue())
return f.Name()
}

Loading…
Cancel
Save