micro-fix(quickstart.ps1): correct npm invocation in powershell script#6816
Conversation
6ca3049 to
b1d6589
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated npm command invocations in Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
b1d6589 to
b102c94
Compare
- powerShell supports direct command invocation without requiring the call operator "&" - the script used the call operator "&" to invoke `npm install` and `npm run build` - which caused incorrect command parsing in PowerShell when combined with output redirection "2>&1" - This resulted in unexpected errors such as "Unknown command: pm", even though the commands worked correctly when executed manually - removed the unnecessary use of the call operator "&" and invoked npm commands directly - npm commands now execute correctly within the script, aligning with standard PowerShell behavior and eliminating the parsing issue
b102c94 to
b07d1db
Compare
Description
npm installandnpm run buildType of Change
Related Issues
Changes Made
Testing
cd core && pytest tests/)cd core && ruff check .)Checklist
Summary by CodeRabbit