File tree 1 file changed +8
-11
lines changed
1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -136,20 +136,17 @@ export class SwiftBuildStatus implements vscode.Disposable {
136
136
return false ;
137
137
}
138
138
}
139
- // If we've found nothing that matches a known state then put up a temporary
140
- // message that we're preparing the build, as there is sometimes a delay before
141
- // building starts while the build system is preparing, especially in large projects.
142
- // The status bar has a message immediately, so only show this when using a
143
- // notification to show progress.
144
- if (
145
- ! started &&
146
- ( showBuildStatus === "notification" || showBuildStatus === "progress" )
147
- ) {
148
- update ( `${ name } : Preparing...` ) ;
149
- }
150
139
return false ;
151
140
} ;
152
141
142
+ // Begin by showing a message that the build is preparing, as there is sometimes
143
+ // a delay before building starts, especially in large projects.
144
+ // The status bar has a message immediately, so only show this when using a
145
+ // notification to show progress.
146
+ if ( ! started && ( showBuildStatus === "notification" || showBuildStatus === "progress" ) ) {
147
+ update ( `${ name } : Preparing...` ) ;
148
+ }
149
+
153
150
return execution . onDidWrite ( data => {
154
151
if ( parseEvents ( data ) ) {
155
152
done ( ) ;
You can’t perform that action at this time.
0 commit comments