@@ -915,7 +915,7 @@ export class ExtensionController implements IDisposable {
915915 urlAndVariable : [ URL , VariableDefintion ] | undefined
916916 ) : Promise < void > => {
917917 // Sometimes view/item/context commands pass undefined instead of a value.
918- // Just ignore.
918+ // Just ignore. microsoft/vscode#283655
919919 if ( urlAndVariable == null ) {
920920 logger . debug ( 'onDeleteVariable' , 'urlAndVariable is undefined' ) ;
921921 return ;
@@ -937,7 +937,7 @@ export class ExtensionController implements IDisposable {
937937 | undefined
938938 ) : Promise < void > => {
939939 // Sometimes view/item/context commands pass undefined instead of a value.
940- // Just ignore.
940+ // Just ignore. microsoft/vscode#283655
941941 if ( folderElementOrUri == null ) {
942942 logger . debug ( 'onAddRemoteFileSource' , 'folderElementOrUri is undefined' ) ;
943943 return ;
@@ -962,7 +962,7 @@ export class ExtensionController implements IDisposable {
962962 | undefined
963963 ) : Promise < void > => {
964964 // Sometimes view/item/context commands pass undefined instead of a value.
965- // Just ignore.
965+ // Just ignore. microsoft/vscode#283655
966966 if ( folderElementOrUri == null ) {
967967 logger . debug (
968968 'onRemoveRemoteFileSource' ,
@@ -998,7 +998,7 @@ export class ExtensionController implements IDisposable {
998998 dhService : IDhcService | undefined
999999 ) : Promise < void > => {
10001000 // Sometimes view/item/context commands pass undefined instead of a value.
1001- // Just ignore.
1001+ // Just ignore. microsoft/vscode#283655
10021002 if ( dhService == null ) {
10031003 logger . debug ( 'onCreateNewDocument' , 'dhService is undefined' ) ;
10041004 return ;
@@ -1048,7 +1048,7 @@ export class ExtensionController implements IDisposable {
10481048 connectionState : ConnectionState | undefined
10491049 ) : Promise < void > => {
10501050 // Sometimes view/item/context commands pass undefined instead of a value.
1051- // Just ignore.
1051+ // Just ignore. microsoft/vscode#283655
10521052 if ( connectionState == null ) {
10531053 logger . debug ( 'onGenerateRequirementsTxt' , 'connectionState is undefined' ) ;
10541054 return ;
@@ -1065,7 +1065,7 @@ export class ExtensionController implements IDisposable {
10651065 serverState : ServerState | undefined
10661066 ) : Promise < void > => {
10671067 // Sometimes view/item/context commands pass undefined instead of a value.
1068- // Just ignore.
1068+ // Just ignore. microsoft/vscode#283655
10691069 if ( serverState == null ) {
10701070 logger . debug ( 'onOpenInBrowser' , 'serverState is undefined' ) ;
10711071 return ;
@@ -1196,7 +1196,7 @@ export class ExtensionController implements IDisposable {
11961196 */
11971197 onStopServer = async ( value : ServerState | undefined ) : Promise < void > => {
11981198 // Sometimes view/item/context commands pass undefined instead of a value.
1199- // Just ignore.
1199+ // Just ignore. microsoft/vscode#283655
12001200 if ( value == null ) {
12011201 logger . debug ( 'onStopServer' , 'value is undefined' ) ;
12021202 return ;
0 commit comments