Skip to content

Conversation

scolladon
Copy link

What does this PR do?

traverse.forFile uses fs.statSync instead of fs.promises.stat

I wonder if the reason why traverse.forFile uses fs.statSync is because of performance as stated here
If it is the case and it is really really important then I can improve this PR by discarding the changes and just add a comment explaining this.
If it is not the case then we can consider the change proposed here.

@scolladon scolladon requested a review from a team as a code owner June 4, 2025 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant