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 {
140
140
141
141
/// The object used to manage sending a subset of notifications to the client.
142
142
/// The subset of notifications are those to which plugins may contribute.
143
- /// This field is `null` when the new plugin support is disabled.
144
143
AbstractNotificationManager notificationManager;
145
144
146
145
/// A reference to the handler for executing commands.
@@ -308,11 +307,10 @@ abstract class AnalysisServer {
308
307
if (baseResourceProvider is PhysicalResourceProvider ) {
309
308
processRunner ?? = ProcessRunner ();
310
309
}
310
+ var disablePubCommandVariable =
311
+ Platform .environment[PubCommand .disablePubCommandEnvironmentKey];
311
312
var pubCommand =
312
- processRunner != null &&
313
- Platform .environment[PubCommand
314
- .disablePubCommandEnvironmentKey] ==
315
- null
313
+ processRunner != null && disablePubCommandVariable == null
316
314
? PubCommand (
317
315
instrumentationService,
318
316
resourceProvider.pathContext,
You can’t perform that action at this time.
0 commit comments