chore: fix lints
This commit is contained in:
@@ -798,7 +798,9 @@ Please re-run the release command for this version or create a new release.'''),
|
||||
|
||||
// Ensure we're using the correct flutter revision.
|
||||
expect(
|
||||
shorebirdEnv.flutterRevision, equals(preLinkerFlutterRevision));
|
||||
shorebirdEnv.flutterRevision,
|
||||
equals(preLinkerFlutterRevision),
|
||||
);
|
||||
return flutterBuildProcessResult;
|
||||
});
|
||||
when(
|
||||
@@ -815,7 +817,9 @@ Please re-run the release command for this version or create a new release.'''),
|
||||
|
||||
// Ensure we're using the correct flutter revision.
|
||||
expect(
|
||||
shorebirdEnv.flutterRevision, equals(preLinkerFlutterRevision));
|
||||
shorebirdEnv.flutterRevision,
|
||||
equals(preLinkerFlutterRevision),
|
||||
);
|
||||
return aotBuildProcessResult;
|
||||
});
|
||||
when(
|
||||
@@ -831,7 +835,9 @@ Please re-run the release command for this version or create a new release.'''),
|
||||
).thenAnswer((_) async {
|
||||
// Ensure we're using the correct flutter revision.
|
||||
expect(
|
||||
shorebirdEnv.flutterRevision, equals(preLinkerFlutterRevision));
|
||||
shorebirdEnv.flutterRevision,
|
||||
equals(preLinkerFlutterRevision),
|
||||
);
|
||||
return null;
|
||||
});
|
||||
|
||||
@@ -1235,7 +1241,7 @@ Please re-run the release command for this version or create a new release.'''),
|
||||
expect(exitCode, equals(ExitCode.software.code));
|
||||
verify(
|
||||
() => logger.err(
|
||||
'Unable to find analyze_snapshot at ${analyzeSnapshotFile.path}',
|
||||
'''Unable to find analyze_snapshot at ${analyzeSnapshotFile.path}''',
|
||||
),
|
||||
).called(1);
|
||||
});
|
||||
|
||||
+10
-4
@@ -598,7 +598,9 @@ Please re-run the release command for this version or create a new release.'''),
|
||||
),
|
||||
).thenAnswer((_) async {
|
||||
expect(
|
||||
shorebirdEnv.flutterRevision, equals(preLinkerFlutterRevision));
|
||||
shorebirdEnv.flutterRevision,
|
||||
equals(preLinkerFlutterRevision),
|
||||
);
|
||||
return null;
|
||||
});
|
||||
when(
|
||||
@@ -609,7 +611,9 @@ Please re-run the release command for this version or create a new release.'''),
|
||||
),
|
||||
).thenAnswer((_) async {
|
||||
expect(
|
||||
shorebirdEnv.flutterRevision, equals(preLinkerFlutterRevision));
|
||||
shorebirdEnv.flutterRevision,
|
||||
equals(preLinkerFlutterRevision),
|
||||
);
|
||||
return flutterBuildProcessResult;
|
||||
});
|
||||
when(
|
||||
@@ -620,7 +624,9 @@ Please re-run the release command for this version or create a new release.'''),
|
||||
),
|
||||
).thenAnswer((_) async {
|
||||
expect(
|
||||
shorebirdEnv.flutterRevision, equals(preLinkerFlutterRevision));
|
||||
shorebirdEnv.flutterRevision,
|
||||
equals(preLinkerFlutterRevision),
|
||||
);
|
||||
return aotBuildProcessResult;
|
||||
});
|
||||
|
||||
@@ -1096,7 +1102,7 @@ Please re-run the release command for this version or create a new release.'''),
|
||||
expect(exitCode, equals(ExitCode.software.code));
|
||||
verify(
|
||||
() => logger.err(
|
||||
'Unable to find analyze_snapshot at ${analyzeSnapshotFile.path}',
|
||||
'''Unable to find analyze_snapshot at ${analyzeSnapshotFile.path}''',
|
||||
),
|
||||
).called(1);
|
||||
});
|
||||
|
||||
@@ -382,7 +382,8 @@ flutter:
|
||||
expect(exitCode, equals(ExitCode.usage.code));
|
||||
verify(
|
||||
() => logger.err(
|
||||
'Shorebird does not currently support obfuscation on iOS.'),
|
||||
'Shorebird does not currently support obfuscation on iOS.',
|
||||
),
|
||||
).called(1);
|
||||
});
|
||||
});
|
||||
|
||||
+2
-2
@@ -115,8 +115,8 @@ flutter:
|
||||
File(
|
||||
p.join(projectRoot.path, 'shorebird.yaml'),
|
||||
).writeAsStringSync('app_id: $appId');
|
||||
// Create an xcframework in the release directory to simulate running this
|
||||
// command a subsequent time.
|
||||
// Create an xcframework in the release directory to simulate running
|
||||
// this command a subsequent time.
|
||||
Directory(p.join(projectRoot.path, 'release', 'Flutter.xcframework'))
|
||||
.createSync(recursive: true);
|
||||
Directory(
|
||||
|
||||
Reference in New Issue
Block a user