mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-23 18:19:05 +02:00
chore: update golangci-lint (#1440)
This commit is contained in:
@@ -347,6 +347,7 @@ func resolveFileBasedEnvVariable(field reflect.Value, fieldType reflect.StructFi
|
||||
return nil
|
||||
}
|
||||
|
||||
// #nosec G703 - Path is passed by the admin
|
||||
fileContent, err := os.ReadFile(envVarFileValue)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to read file for env var %s: %w", envVarFileName, err)
|
||||
|
||||
Reference in New Issue
Block a user