Skip to content

fix(barrels): fix glob pattern to discover nested directory#430

Merged
Romakita merged 1 commit intomasterfrom
fix-barrels-windows
Dec 23, 2024
Merged

fix(barrels): fix glob pattern to discover nested directory#430
Romakita merged 1 commit intomasterfrom
fix-barrels-windows

Conversation

@Romakita
Copy link
Contributor

No description provided.

await globby(
directory.map((d) => {
return join(d, "*");
return joinPosix(d, "*");

Choose a reason for hiding this comment

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

don't all join needs to be replaced? i did for my solution, maybe not alias join and just use it for all?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

because for other path like cwd, we have to use the normal path.join function to avoid specific OS issue

@Romakita Romakita merged commit b22339f into master Dec 23, 2024
11 checks passed
@Romakita
Copy link
Contributor Author

🎉 This PR is included in version 6.1.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments