You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(storage): merge-first-validate-once for S3 config
Env vars are only used as fallback when no explicit value is provided.
A malformed env var no longer breaks the build if the caller overrides
that field. Removes readEnv/parseSource/stripAbsent in favor of a
single loop + one Zod parse on the merged result.
Removes misleading eslint-disable comment on S3Client constructor.
@@ -139,7 +132,6 @@ export class S3Storage implements Storage {
139
132
this.publicUrl=config.publicUrl;
140
133
this.endpoint=config.endpoint;
141
134
142
-
// eslint-disable-next-line typescript-eslint(no-unsafe-type-assertion) -- SDK type declares credentials as required but accepts omission at runtime when the caller provides credentials through an alternative mechanism
0 commit comments