Eng Zer Jun
133b0e5ef0
refactor: move from io/ioutil to io and os packages
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-01-15 23:53:45 +08:00
Mike Farah
606ef91cc6
Better fix #1062 (return error instead of panic)
2022-01-14 15:40:24 +11:00
Mike Farah
78b45a3eb0
Fixed #1062
2022-01-14 15:22:55 +11:00
Matthieu MOREL
15d7c9e118
enable misspell linter
2021-11-25 22:01:30 +11:00
Mike Farah
555ad0762c
Added front-matter handler
2021-07-18 12:28:46 +10:00
Mike Farah
bae319ab7f
Revert usage of filepath.Clean (azure compatability issues)
2021-07-08 10:26:35 +10:00
Mike Farah
38ce8618e1
Revert "Fix for gosec rule G304 - sanitize filepaths"
...
This reverts commit ffb6cbf769 .
2021-07-08 10:14:01 +10:00
Monica Debbeler
ffb6cbf769
Fix for gosec rule G304 - sanitize filepaths
2021-07-07 13:52:11 +10:00
Mike Farah
8de10e550d
wip - write in place
2020-11-29 20:25:47 +11:00