8000 [rush-lib] Add --timeline parameter for all phased commands (#5082) · OlliMartin/rushstack@ae38aee · GitHub
[go: up one dir, main page]

Skip to content

Commit ae38aee

Browse files
[rush-lib] Add --timeline parameter for all phased commands (microsoft#5082)
* Add --timeline option for all phased commands * rush change --------- Co-authored-by: Elliot Nelson <elliot-nelson@users.noreply.github.com>
1 parent 061bc35 commit ae38aee

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@microsoft/rush",
5+
"comment": "Allow --timeline option for all phased commands",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@microsoft/rush"
10+
}

libraries/rush-lib/src/cli/scriptActions/PhasedScriptAction.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,13 @@ export class PhasedScriptAction extends BaseScriptAction<IPhasedCommandConfig> {
195195
' to specify a count that is equal to the number of CPU cores. If this parameter is omitted,' +
196196
' then the default value depends on the operating system and number of CPU cores.'
197197
});
198-
this._timelineParameter = this.defineFlagParameter({
199-
parameterLongName: '--timeline',
200-
description:
201-
'After the build is complete, print additional statistics and CPU usage information,' +
202-
' including an ASCII chart of the start and stop times for each operation.'
203-
});
204198
}
199+
this._timelineParameter = this.defineFlagParameter({
200+
parameterLongName: '--timeline',
201+
description:
202+
'After the build is complete, print additional statistics and CPU usage information,' +
203+
' including an ASCII chart of the start and stop times for each operation.'
204+
});
205205
this._cobuildPlanParameter = this.defineFlagParameter({
206206
parameterLongName: '--log-cobuild-plan',
207207
description:

0 commit comments

Comments
 (0)
0