mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-14 07:43:25 +01:00
[PR #274] [CLOSED] Fix/vendor node output #198
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mountain-loop/yaak/pull/274
Author: @SyedaAnshrahGillani
Created: 10/22/2025
Status: ❌ Closed
Base:
main← Head:fix/vendor-node-output📝 Commits (2)
e8f2f37FIX: Suppress stdout in vendor-node.cjs version check9eb41cbFIX: Improve protoc vendoring script error handling and output📊 Changes
2 files changed (+6 additions, -3 deletions)
View changed files
📝
scripts/vendor-node.cjs(+1 -1)📝
scripts/vendor-protoc.cjs(+5 -2)📄 Description
This pull request addresses two minor but impactful issues in the project's vendoring scripts
(scripts/vendor-node.cjs and scripts/vendor-protoc.cjs), enhancing the robustness of the development
setup and improving the overall developer experience.
Changes Introduced:
scripts/vendor-node.cjs- Suppressnode --versionoutput:Node.js version. This caused the node --version output to be printed to the console every time
the bootstrap script ran this check, leading to unnecessary console noise.
during the bootstrap process. Developers will now only see relevant messages, improving clarity
and focus.
scripts/vendor-protoc.cjs- Improve error handling and suppressprotoc --versionoutput:but did not terminate the script with process.exit(1). If protoc vendoring failed, the bootstrap
process would continue, potentially leading to confusing cascading errors later on.
'inherit' for the protoc --version check, adding unnecessary output to the console.
immediate, clear feedback if protoc vendoring encounters an issue. This prevents wasted time
debugging subsequent failures. The stdio: 'pipe' change also contributes to a cleaner console
output, consistent with the vendor-node.cjs fix.
These changes are bug fixes that enhance the reliability and user-friendability of the project's
development setup, aligning with the project's contribution policy.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.