Commit fa8dc5f8 authored by Ryan Macnak's avatar Ryan Macnak Committed by GitHub

Do not truncate commands, this inhibits reproduction. (#5607)

parent b8980aeb
......@@ -153,10 +153,7 @@ String runSync(List<String> cmd, {
}
void _traceCommand(List<String> args, { String workingDirectory }) {
final int kMaxArgsLength = 1024;
String argsText = args.join(' ');
if (argsText.length > kMaxArgsLength)
argsText = argsText.substring(0, kMaxArgsLength) + '…';
if (workingDirectory == null)
printTrace(argsText);
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment