summaryrefslogtreecommitdiff
path: root/core/entries.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/entries.go')
-rw-r--r--core/entries.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/entries.go b/core/entries.go
index 223ecb9..8beee91 100644
--- a/core/entries.go
+++ b/core/entries.go
@@ -12,6 +12,7 @@ package core
import (
"fmt"
+ "io/ioutil"
"os"
"path/filepath"
"sort"
@@ -116,7 +117,7 @@ Watching these pages for any changes that occur.
=> https://git.nytpu.com/comitium/about/ aggregated using comitium
`
- err := os.WriteFile(path, []byte(rawPage), 0666)
+ err := ioutil.WriteFile(path, []byte(rawPage), 0666)
if err != nil {
return err
}
@@ -161,7 +162,7 @@ func (d *FullData) WriteFeed(dataPath string) error {
=> https://git.nytpu.com/comitium/about/ aggregated using comitium
`
- err := os.WriteFile(path, []byte(rawPage), 0666)
+ err := ioutil.WriteFile(path, []byte(rawPage), 0666)
if err != nil {
return err
}