Skip to content

Commit 0d8652b

Browse files
committed
minor fixes
1 parent 5edbf3d commit 0d8652b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/flutter_symbol_collector/bin/flutter_symbol_collector.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void main(List<String> arguments) async {
3333
!argVersion.contains('*') &&
3434
argVersion.split('.').length == 3) {
3535
Logger.root.info('Running for a single flutter version: $argVersion');
36-
await processFlutterVerion(FlutterVersion(argVersion));
36+
await processFlutterVersion(FlutterVersion(argVersion));
3737
} else {
3838
// Otherwise, walk all the versions and run for the matching ones.
3939
final versionRegex = RegExp(argVersion.isEmpty
@@ -48,12 +48,12 @@ void main(List<String> arguments) async {
4848
Logger.root.info(
4949
'Found ${versions.length} Flutter versions matching $versionRegex');
5050
for (var version in versions) {
51-
await processFlutterVerion(version);
51+
await processFlutterVersion(version);
5252
}
5353
}
5454
}
5555

56-
Future<void> processFlutterVerion(FlutterVersion version) async {
56+
Future<void> processFlutterVersion(FlutterVersion version) async {
5757
if (bool.hasEnvironment('CI')) {
5858
print('::group::Processing Flutter ${version.tagName}');
5959
}

scripts/flutter_symbol_collector/lib/src/symbol_collector_cli.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ class SymbolCollectorCli {
7070

7171
void _ensureIsExecutable() {
7272
if (!_isExecutable) {
73-
_isExecutable = true;
7473
if (LocalPlatform().operatingSystem == platform.operatingSystem) {
7574
if (platform.isLinux || platform.isMacOS) {
7675
_log.fine('Making Symbol-collector CLI executable (chmod +x)');
7776

7877
posix.chmod(cli, '0700');
7978
}
79+
_isExecutable = true;
8080
} else {
8181
_log.warning(
8282
'Symbol-collector CLI has been run with a platform that is not the current OS platform.'

0 commit comments

Comments
 (0)