Commit cd3da82 1 parent 279a200 commit cd3da82 Copy full SHA for cd3da82
File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,8 @@ class Program : BaseCommandModule
57
57
public static Random rand = new ( ) ;
58
58
public static HasteBinClient hasteUploader ;
59
59
60
- public static StringWriter outputCapture = new ( ) ;
60
+ public static StringBuilder outputStringBuilder = new ( 100 , 100 ) ;
61
+ public static StringWriter outputCapture ;
61
62
62
63
static public readonly HttpClient httpClient = new ( ) ;
63
64
@@ -75,6 +76,7 @@ public static void UpdateLists()
75
76
static async Task Main ( string [ ] _ )
76
77
{
77
78
Console . OutputEncoding = Encoding . UTF8 ;
79
+ outputCapture = new ( outputStringBuilder ) ;
78
80
79
81
httpClient . DefaultRequestHeaders . Accept . Add ( new MediaTypeWithQualityHeaderValue ( "application/json" ) ) ;
80
82
var logFormat = "[{Timestamp:yyyy-MM-dd HH:mm:ss zzz}] [{Level}] {Message}{NewLine}{Exception}" ;
You can’t perform that action at this time.
0 commit comments