Fix typos (#121171)
* Fix typos * lowercase animated & opacity * Undo typo fix --------- Co-authored-by: Michael Goderbauer <goderbauer@google.com>
This commit is contained in:
@@ -169,7 +169,7 @@ class AOTSnapshotter {
|
||||
]);
|
||||
}
|
||||
|
||||
// When buiding for iOS and splitting out debug info, we want to strip
|
||||
// When building for iOS and splitting out debug info, we want to strip
|
||||
// manually after the dSYM export, instead of in the `gen_snapshot`.
|
||||
final bool stripAfterBuild;
|
||||
if (targetingApplePlatform) {
|
||||
|
||||
@@ -231,7 +231,7 @@ class PosixProcessSignal extends ProcessSignal {
|
||||
/// * by throwing an exception asynchronously, and
|
||||
/// * by completing the Future stdout.done with an error.
|
||||
///
|
||||
/// This class enapsulates all three so that we don't have to worry about it
|
||||
/// This class encapsulates all three so that we don't have to worry about it
|
||||
/// anywhere else.
|
||||
class Stdio {
|
||||
Stdio();
|
||||
|
||||
@@ -625,7 +625,7 @@ class StdoutLogger extends Logger {
|
||||
}
|
||||
}
|
||||
|
||||
typedef _Writter = void Function(String message);
|
||||
typedef _Writer = void Function(String message);
|
||||
|
||||
/// Wraps the message in a box, and writes the bytes by calling [write].
|
||||
///
|
||||
@@ -643,7 +643,7 @@ typedef _Writter = void Function(String message);
|
||||
void _generateBox({
|
||||
required String message,
|
||||
required int wrapColumn,
|
||||
required _Writter write,
|
||||
required _Writer write,
|
||||
required Terminal terminal,
|
||||
String? title,
|
||||
}) {
|
||||
|
||||
@@ -318,13 +318,13 @@ class _LinuxUtils extends _PosixUtils {
|
||||
try {
|
||||
// Split the operating system version which should be formatted as
|
||||
// "Linux kernelRelease build", by spaces.
|
||||
final List<String> osVersionSplitted = _platform.operatingSystemVersion.split(' ');
|
||||
if (osVersionSplitted.length < 3) {
|
||||
final List<String> osVersionSplit = _platform.operatingSystemVersion.split(' ');
|
||||
if (osVersionSplit.length < 3) {
|
||||
// The operating system version didn't have the expected format.
|
||||
// Initialize as an empty string.
|
||||
kernelRelease = '';
|
||||
} else {
|
||||
kernelRelease = ' ${osVersionSplitted[1]}';
|
||||
kernelRelease = ' ${osVersionSplit[1]}';
|
||||
}
|
||||
} on Exception catch (e) {
|
||||
_logger.printTrace('Failed obtaining kernel release for Linux: $e');
|
||||
@@ -336,8 +336,8 @@ class _LinuxUtils extends _PosixUtils {
|
||||
}
|
||||
|
||||
String _getOsReleaseValueForKey(String osRelease, String key) {
|
||||
final List<String> osReleaseSplitted = osRelease.split('\n');
|
||||
for (String entry in osReleaseSplitted) {
|
||||
final List<String> osReleaseSplit = osRelease.split('\n');
|
||||
for (String entry in osReleaseSplit) {
|
||||
entry = entry.trim();
|
||||
final List<String> entryKeyValuePair = entry.split('=');
|
||||
if(entryKeyValuePair[0] == key) {
|
||||
|
||||
Reference in New Issue
Block a user