Skip to content

Commit

Permalink
pipeline test
Browse files Browse the repository at this point in the history
  • Loading branch information
ricsam committed Dec 12, 2024
1 parent 1acae89 commit 1d53461
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/backends/s3/create-s3-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@ export function createS3Client(uri: string): S3Client {
process.env.AWS_ENDPOINT_URL_S3 ??
process.env.AWS_ENDPOINT_URL;

if (config.endpoint) {
throw new Error(JSON.stringify(config));
}

return new S3Client(config);
}

0 comments on commit 1d53461

Please sign in to comment.