Skip to content

Conversation

@kuhe
Copy link
Contributor

@kuhe kuhe commented Oct 7, 2025

Issue

#7408

similar to smithy-lang/smithy-typescript#1735

Description

Calls lstat on objects matching the fs.ReadStream prototype rather than objects having a .path property.

Testing

new unit tests, CI

Checklist

  • If the PR is a feature, add integration tests (*.integ.spec.ts).
  • If you wrote E2E tests, are they resilient to concurrent I/O?
  • If adding new public functions, did you add the @public tag and enable doc generation on the package?

@kuhe kuhe requested a review from a team as a code owner October 7, 2025 16:15
runtime: "node",
lstatSync,
isFileReadStream(f: unknown): f is ReadStream {
return f instanceof ReadStream;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kuhe kuhe merged commit 120f408 into main Oct 7, 2025
7 checks passed
@kuhe kuhe deleted the fix/upload branch October 7, 2025 17:21
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants