Skip to content

Commit

Permalink
log gh clone
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Dec 5, 2024
1 parent 8431ba4 commit 01b8751
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkgs/quest/bin/quest.dart
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,14 @@ class Quest {
if (Directory(fullPath).existsSync()) {
fullPath = p.join(tempDir.path, '${name}_${url.hashCode}');
}
await Process.run('gh', ['repo', 'clone', url, '--', fullPath]);
final processResult =
await Process.run('gh', ['repo', 'clone', url, '--', fullPath]);
final stdout = processResult.stdout as String;
final stderr = processResult.stderr as String;
print('stdout:');
print(stdout);
print('stderr:');
print(stderr);
return fullPath;
}

Expand Down

0 comments on commit 01b8751

Please sign in to comment.