We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd9f79c commit 0957c13Copy full SHA for 0957c13
pkg/analysis_server/lib/src/services/correction/fix_internal.dart
@@ -4376,10 +4376,10 @@ class FixProcessor extends BaseProcessor {
4376
SdkConstraintExtractor extractor = new SdkConstraintExtractor(pubspecFile);
4377
String text = extractor.constraintText();
4378
int offset = extractor.constraintOffset();
4379
- int length = text.length;
4380
if (text == null || offset < 0) {
4381
return;
4382
}
+ int length = text.length;
4383
String newText;
4384
int spaceOffset = text.indexOf(' ');
4385
if (spaceOffset >= 0) {
0 commit comments