Skip to content

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Mar 9, 2024

What's the problem this PR addresses?

The path field has always been set when withFileTypes: true is present, even without the recursive: true flag, ever since 18.17.

How did you fix it?

Fixes the types to reflect that path is always set.

A follow-up PR will have to find a solution to rename path into parentPath in a way that's backward compatible :/

nodejs/node#51050

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant