Skip to content

Commit

Permalink
ci: using Process workingDirectory instead of flutter -C to set the w…
Browse files Browse the repository at this point in the history
…orking directory to run pub get
  • Loading branch information
EchoEllet committed Dec 14, 2024
1 parent 4180855 commit da1f30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pub_get.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import 'packages.dart';

void main(List<String> args) {
for (final package in packages) {
Process.runSync('flutter', ['pub', 'get', '-C', package]);
Process.runSync('flutter', ['pub', 'get'], workingDirectory: package);
}
}

0 comments on commit da1f30b

Please sign in to comment.