Skip to content

Commit 5970782

Browse files
committed
PR feedback
1 parent 559ae89 commit 5970782

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

apps/rush-lib/src/logic/InstallManager.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ export interface IInstallManagerOptions {
8383
/**
8484
* The value of the "--network-concurrency" command-line parameter, which
8585
* is a diagnostic option used to troubleshoot network failures.
86+
*
87+
* Currently only supported for PNPM.
8688
*/
8789
networkConcurrency: number | undefined;
8890

@@ -779,6 +781,12 @@ export class InstallManager {
779781
console.log(os.EOL + colors.bold(`Running "${this._rushConfiguration.packageManager} install" in`
780782
+ ` ${this._rushConfiguration.commonTempFolder}`) + os.EOL);
781783

784+
if (options.collectLogFile || options.networkConcurrency) {
785+
// Show the full command-line when diagnostic options are specified
786+
console.log(os.EOL + colors.green('Invoking package manager: ')
787+
+ FileSystem.getRealPath(packageManagerFilename) + ' ' + installArgs.join(' ') + os.EOL);
788+
}
789+
782790
Utilities.executeCommandWithRetry(MAX_INSTALL_ATTEMPTS, packageManagerFilename,
783791
installArgs,
784792
this._rushConfiguration.commonTempFolder,

0 commit comments

Comments
 (0)