From da1f30ba4d0c770337fbcfcc2ea280d61fdb9886 Mon Sep 17 00:00:00 2001 From: Ellet Date: Sat, 14 Dec 2024 23:05:45 +0300 Subject: [PATCH] ci: using Process workingDirectory instead of flutter -C to set the working directory to run pub get --- scripts/pub_get.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pub_get.dart b/scripts/pub_get.dart index e43f7f1..4f79bc8 100644 --- a/scripts/pub_get.dart +++ b/scripts/pub_get.dart @@ -4,6 +4,6 @@ import 'packages.dart'; void main(List args) { for (final package in packages) { - Process.runSync('flutter', ['pub', 'get', '-C', package]); + Process.runSync('flutter', ['pub', 'get'], workingDirectory: package); } }