File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
pkg/analysis_server/lib/src Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,6 @@ abstract class AnalysisServer {
140140
141141 /// The object used to manage sending a subset of notifications to the client.
142142 /// The subset of notifications are those to which plugins may contribute.
143- /// This field is `null` when the new plugin support is disabled.
144143 AbstractNotificationManager notificationManager;
145144
146145 /// A reference to the handler for executing commands.
@@ -308,11 +307,10 @@ abstract class AnalysisServer {
308307 if (baseResourceProvider is PhysicalResourceProvider ) {
309308 processRunner ?? = ProcessRunner ();
310309 }
310+ var disablePubCommandVariable =
311+ Platform .environment[PubCommand .disablePubCommandEnvironmentKey];
311312 var pubCommand =
312- processRunner != null &&
313- Platform .environment[PubCommand
314- .disablePubCommandEnvironmentKey] ==
315- null
313+ processRunner != null && disablePubCommandVariable == null
316314 ? PubCommand (
317315 instrumentationService,
318316 resourceProvider.pathContext,
You can’t perform that action at this time.
0 commit comments