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

This commit is contained in:
Ryan Macnak 2016-08-26 14:48:21 -07:00 committed by GitHub
parent b8980aeb35
commit fa8dc5f88b

View File

@ -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