chore: add missing lines

This commit is contained in:
MAERYO 2023-11-15 23:39:11 +09:00
parent aec160fe01
commit 08136c0324

View File

@ -278,6 +278,7 @@ func (i *FileInfo) detectType(modify, saveContent, readHeader bool) error {
}
func calculateImageResolution(fs afero.Fs, filePath string) (*ImageResolution, error) {
file, err := fs.Open(filePath)
if err != nil {
return nil, err
}