Update BufferedReporter to match IReporter api change
This commit is contained in:
parent
6a6672a6fc
commit
df81445687
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
#nullable enable
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Microsoft.DotNet.Cli.Utils;
|
using Microsoft.DotNet.Cli.Utils;
|
||||||
|
@ -8,6 +10,8 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
||||||
{
|
{
|
||||||
public List<string> Lines { get; private set; } = new List<string>();
|
public List<string> Lines { get; private set; } = new List<string>();
|
||||||
|
|
||||||
|
public void WriteLine(string format, params object?[] args) => WriteLine(string.Format(format, args));
|
||||||
|
|
||||||
public void WriteLine(string message)
|
public void WriteLine(string message)
|
||||||
{
|
{
|
||||||
Lines.Add(message);
|
Lines.Add(message);
|
||||||
|
|
Loading…
Reference in a new issue