build: fix lint issue: should omit type error from declaration

This commit is contained in:
albertony
2025-08-19 14:57:29 +02:00
committed by Nick Craig-Wood
parent 115cff3007
commit d4be38ec02
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ import (
)
// errFileNotFound represent file not found error
var errFileNotFound error = errors.New("file not found")
var errFileNotFound = errors.New("file not found")
// getFileCode retrieves the file code for a given file path
func (f *Fs) getFileCode(ctx context.Context, filePath string) (string, error) {