Skip to content

Commit

Permalink
Use useFlutter
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Dec 5, 2024
1 parent 2d9f388 commit 2ed31d0
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions pkgs/quest/bin/quest.dart
Original file line number Diff line number Diff line change
Expand Up @@ -164,16 +164,8 @@ class Quest {
for (var application in await Application.listFromFile(applicationFile)) {
final path = await cloneRepo(application.url, tempDir);
print('Cloned $application into $path');
final processResult = await Process.run(
'flutter',
[
'pub',
'deps',
'--json',
],
workingDirectory: path);
final depsListResult = processResult.stdout as String;
print(depsListResult);
final depsListResult =
(await runFlutter(['pub', 'deps', '--json'], path)).stdout;
final depsJson =
jsonDecode(depsListResult.substring(depsListResult.indexOf('{')))
as Map<String, dynamic>;
Expand Down

0 comments on commit 2ed31d0

Please sign in to comment.