Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThe pull request refactors multiple CLI scripts, transitioning their execution from a Node.js environment to a shell script wrapper. The changes adjust the shebang lines to use Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant S as Shell Script
participant N as Node Process
U->>S: Execute script (libnest / libnest-build / libnest-dev)
S->>S: Determine DIR and PARENT_DIR
S->>N: Run "node --enable-source-maps [target].js" "$@"
N-->>S: Execution result
S-->>U: Output result
sequenceDiagram
participant U as User
participant CLI as CLI Program (libnest.js)
participant B as Build Wrapper (libnest-build)
participant D as Dev Wrapper (libnest-dev)
U->>CLI: Invoke command (build or dev)
alt Build Command
CLI->>B: Execute build script (node .../bin/libnest-build)
else Dev Command
CLI->>D: Execute dev script (node .../bin/libnest-dev)
end
B/D-->>CLI: Return result
CLI-->>U: Display output
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (6)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
🎉 This PR is included in version 2.3.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
This is not "GNU Design choices" this is trying to rely on non-POSIX features in OSX not present in all Unix systems. |
|
The POSIX env specification, https://pubs.opengroup.org/onlinepubs/9699919799/utilities/env.html |
|
It appears that that GNU extension "-S" is available on Mac, though I am unable to confirm a real system. Ref: |
https://unix.stackexchange.com/questions/63979/shebang-line-with-usr-bin-env-command-argument-fails-on-linux
Summary by CodeRabbit