File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments