diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6e93736..7d1f03f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,8 +18,7 @@ jobs: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v2 - run: bun install - - run: bun test || true - - run: cat output.txt + - run: CI=false bun test # - run: bun run build # - run: | # echo '@ricsam:registry=https://registry.npmjs.org' >> .npmrc diff --git a/src/backends/s3/create-s3-client.ts b/src/backends/s3/create-s3-client.ts index 82c0793..d2b18ed 100644 --- a/src/backends/s3/create-s3-client.ts +++ b/src/backends/s3/create-s3-client.ts @@ -27,22 +27,10 @@ export function createS3Client(uri: string): S3Client { }; } - const file = Bun.file(path.join('../../../', 'output.txt')); - const w = file.writer(); - config.endpoint = parsed.endpoint ?? process.env.AWS_ENDPOINT_URL_S3 ?? process.env.AWS_ENDPOINT_URL; - const customLogger = new console.Console({ - stderr: new stream.Writable(w), - stdout: new stream.Writable(w), - }); - - config.logger = customLogger; - - customLogger.log('Creating S3 client with config:', config); - return new S3Client(config); }