Skip to content

Commit 0cb1c22

Browse files
committed
Merge pull request #549 from JakeGinnivan/ConsoleAdapterFix
Fixed missing implementations in ConsoleAdapter
2 parents 93ad627 + 395740e commit 0cb1c22

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/GitVersionCore/Configuration/ConsoleAdapter.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ class ConsoleAdapter : IConsole
66
{
77
public void WriteLine(string msg)
88
{
9-
throw new NotImplementedException();
9+
Console.WriteLine(msg);
1010
}
1111

1212
public void WriteLine()
1313
{
14-
throw new NotImplementedException();
14+
Console.WriteLine();
1515
}
1616

1717
public void Write(string msg)
1818
{
19-
throw new NotImplementedException();
19+
Console.Write(msg);
2020
}
2121

2222
public string ReadLine()
2323
{
24-
throw new NotImplementedException();
24+
return Console.ReadLine();
2525
}
2626

2727
public IDisposable UseColor(ConsoleColor consoleColor)

0 commit comments

Comments
 (0)