mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Do not truncate commands, this inhibits reproduction. (#5607)
This commit is contained in:
parent
b8980aeb35
commit
fa8dc5f88b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user