File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
scripts/flutter_symbol_collector Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ void main(List<String> arguments) async {
33
33
! argVersion.contains ('*' ) &&
34
34
argVersion.split ('.' ).length == 3 ) {
35
35
Logger .root.info ('Running for a single flutter version: $argVersion ' );
36
- await processFlutterVerion (FlutterVersion (argVersion));
36
+ await processFlutterVersion (FlutterVersion (argVersion));
37
37
} else {
38
38
// Otherwise, walk all the versions and run for the matching ones.
39
39
final versionRegex = RegExp (argVersion.isEmpty
@@ -48,12 +48,12 @@ void main(List<String> arguments) async {
48
48
Logger .root.info (
49
49
'Found ${versions .length } Flutter versions matching $versionRegex ' );
50
50
for (var version in versions) {
51
- await processFlutterVerion (version);
51
+ await processFlutterVersion (version);
52
52
}
53
53
}
54
54
}
55
55
56
- Future <void > processFlutterVerion (FlutterVersion version) async {
56
+ Future <void > processFlutterVersion (FlutterVersion version) async {
57
57
if (bool .hasEnvironment ('CI' )) {
58
58
print ('::group::Processing Flutter ${version .tagName }' );
59
59
}
Original file line number Diff line number Diff line change @@ -70,13 +70,13 @@ class SymbolCollectorCli {
70
70
71
71
void _ensureIsExecutable () {
72
72
if (! _isExecutable) {
73
- _isExecutable = true ;
74
73
if (LocalPlatform ().operatingSystem == platform.operatingSystem) {
75
74
if (platform.isLinux || platform.isMacOS) {
76
75
_log.fine ('Making Symbol-collector CLI executable (chmod +x)' );
77
76
78
77
posix.chmod (cli, '0700' );
79
78
}
79
+ _isExecutable = true ;
80
80
} else {
81
81
_log.warning (
82
82
'Symbol-collector CLI has been run with a platform that is not the current OS platform.'
You can’t perform that action at this time.
0 commit comments