@@ -77,7 +77,7 @@ export class CppTools implements CppToolsTestApi {
7777} else if ( this . failedRegistrations . find ( p => p === provider ) ) {
7878console . warn ( "provider not successfully registered, 'notifyReady' ignored" ) ;
7979} else {
80- console . warn ( false , "provider should be registered before signaling it's ready to provide configurations" ) ;
80+ console . warn ( "provider should be registered before signaling it's ready to provide configurations" ) ;
8181}
8282}
8383
@@ -86,12 +86,14 @@ export class CppTools implements CppToolsTestApi {
8686let p :CustomConfigurationProvider1 = providers . get ( provider ) ;
8787
8888if ( p ) {
89- console . warn ( p . isReady , "didChangeCustomConfiguration was invoked before notifyReady" ) ;
89+ if ( ! p . isReady ) {
90+ console . warn ( "didChangeCustomConfiguration was invoked before notifyReady" ) ;
91+ }
9092LanguageServer . getClients ( ) . forEach ( client => client . updateCustomConfigurations ( p ) ) ;
9193} else if ( this . failedRegistrations . find ( p => p === provider ) ) {
9294console . warn ( "provider not successfully registered, 'didChangeCustomConfiguration' ignored" ) ;
9395} else {
94- console . warn ( false , "provider should be registered before sending config change messages" ) ;
96+ console . warn ( "provider should be registered before sending config change messages" ) ;
9597}
9698}
9799
@@ -104,7 +106,7 @@ export class CppTools implements CppToolsTestApi {
104106} else if ( this . failedRegistrations . find ( p => p === provider ) ) {
105107console . warn ( "provider not successfully registered, 'didChangeCustomBrowseConfiguration' ignored" ) ;
106108} else {
107- console . warn ( false , "provider should be registered before sending config change messages" ) ;
109+ console . warn ( "provider should be registered before sending config change messages" ) ;
108110}
109111}
110112