Skip to content

Conversation

@dsanders11
Copy link
Member

Turns out process.argv[1] can be a symlink in .bin for these scripts. Node.js is working on adding import.meta.main which will be the proper way to do this check in the future, but until then we can resolve the symlink to ensure this works correctly.

@dsanders11 dsanders11 marked this pull request as ready for review May 21, 2025 19:09
@dsanders11 dsanders11 requested a review from a team as a code owner May 21, 2025 19:09
@dsanders11 dsanders11 merged commit 40bad34 into main May 21, 2025
9 checks passed
@dsanders11 dsanders11 deleted the fix/script-entrypoints branch May 21, 2025 19:31
@continuous-auth
Copy link

🎉 This PR is included in version 3.1.1 🎉

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.

3 participants