Skip to content

Deduplicate quiet mode handling in install-run-rush#5700

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/add-rush-quiet-mode-variable
Draft

Deduplicate quiet mode handling in install-run-rush#5700
Copilot wants to merge 4 commits intomainfrom
copilot/add-rush-quiet-mode-variable

Conversation

Copy link
Contributor

Copilot AI commented Mar 12, 2026

install-run-rush had two separate code paths that assigned an identical no-op logger — one for RUSH_QUIET_MODE env var and one for -q/--quiet CLI arg — with duplicated object literals.

Changes

  • install-run-rush.ts: Replace the two separate logger assignments with a single let quiet: boolean flag set by either source; construct logger once after the arg loop.
  • EnvironmentConfiguration.ts: Fix reset() to also reset _gitBinaryPath and _tarBinaryPath (added in the prior commit but omitted from reset); remove stray blank lines for consistency.

Copilot AI and others added 4 commits March 12, 2026 20:50
Co-authored-by: dmichon-msft <26827560+dmichon-msft@users.noreply.github.com>
Co-authored-by: dmichon-msft <26827560+dmichon-msft@users.noreply.github.com>
Co-authored-by: dmichon-msft <26827560+dmichon-msft@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs triage

Development

Successfully merging this pull request may close these issues.

2 participants