mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
Bump some deprecations
This commit is contained in:
@@ -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("")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user