File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -1128,10 +1128,9 @@ namespace ts {
1128
1128
function buildAllProjects ( ) : ExitStatus {
1129
1129
if ( options . watch ) { reportWatchStatus ( Diagnostics . Starting_compilation_in_watch_mode ) ; }
1130
1130
const graph = getGlobalDependencyGraph ( ) ;
1131
- const queue = graph . buildQueue ;
1132
1131
reportBuildQueue ( graph ) ;
1133
1132
let anyFailed = false ;
1134
- for ( const next of queue ) {
1133
+ for ( const next of graph . buildQueue ) {
1135
1134
const proj = parseConfigFile ( next ) ;
1136
1135
if ( proj === undefined ) {
1137
1136
anyFailed = true ;
@@ -1188,13 +1187,9 @@ namespace ts {
1188
1187
* Report the build ordering inferred from the current project graph if we're in verbose mode
1189
1188
*/
1190
1189
function reportBuildQueue ( graph : DependencyGraph ) {
1191
- if ( ! options . verbose ) return ;
1192
-
1193
- const names : string [ ] = [ ] ;
1194
- for ( const name of graph . buildQueue ) {
1195
- names . push ( name ) ;
1190
+ if ( options . verbose ) {
1191
+ reportStatus ( Diagnostics . Projects_in_this_build_Colon_0 , graph . buildQueue . map ( s => "\r\n * " + relName ( s ) ) . join ( "" ) ) ;
1196
1192
}
1197
- if ( options . verbose ) reportStatus ( Diagnostics . Projects_in_this_build_Colon_0 , names . map ( s => "\r\n * " + relName ( s ) ) . join ( "" ) ) ;
1198
1193
}
1199
1194
1200
1195
function relName ( path : string ) : string {
You can’t perform that action at this time.
0 commit comments