mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 06:00:25 +03:00
Bump some deprecations
This commit is contained in:
parent
84f4b731d2
commit
b6798ee867
3 changed files with 6 additions and 6 deletions
|
@ -133,8 +133,8 @@ func (fi *FileInfo) FileInfo() os.FileInfo {
|
|||
}
|
||||
|
||||
func (fi *FileInfo) Bytes() []byte {
|
||||
// Remove in Hugo 0.34
|
||||
helpers.Deprecated("File", "Bytes", "", false)
|
||||
// Remove in Hugo 0.38
|
||||
helpers.Deprecated("File", "Bytes", "", true)
|
||||
return []byte("")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue