Skip to content

Commit

Permalink
chore: remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
HelloCore committed Oct 3, 2023
1 parent ca273d7 commit 8df4084
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions packages/danger_core/lib/src/danger_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ class DangerUtils {
static Future<String> spawn(String command,
{List<String> arguments = const []}) async {
final result = await Process.run(command, arguments, runInShell: true);
print("=======");
print('Exit code ${result.exitCode}');
print('stderr:');
print(result.stderr);
print('stdout:');
print(result.stdout);
print("=======");
return result.stdout.toString().trim();
}

Expand All @@ -26,8 +19,7 @@ class DangerUtils {
base = getTargetBranch();
}

final data =
await DangerUtils.spawn('git', arguments: ['fetch', 'origin', base]);
await DangerUtils.spawn('git', arguments: ['fetch', 'origin', base]);
}

/// Get PR target branch based on git provider
Expand Down

0 comments on commit 8df4084

Please sign in to comment.