Skip to content

Commit 5b32f33

Browse files
authored
Use flutter from in same repo (not path) in generate_gradle_lockfiles.dart (again) (#155794)
Fixes another invocation of `flutter`. Follow up to flutter/flutter#155790. Checked that this is the only other one (and also the only use of `exec()` left that is relying on the path and shouldn't be (one other use uses git from the path, which is fine, and the other one uses an absolute path).
1 parent 2c0a4f2 commit 5b32f33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tools/bin/generate_gradle_lockfiles.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ void main(List<String> arguments) {
190190
// Generate Gradle wrapper if it doesn't exist.
191191
if (!gradleWrapper.existsSync()) {
192192
exec(
193-
'flutter',
193+
flutterPath,
194194
<String>['build', 'apk', '--config-only'],
195195
workingDirectory: appDirectory,
196196
);

0 commit comments

Comments
 (0)