Skip to content

Commit

Permalink
fix warning, delete commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsequitur authored and colombod committed Jun 13, 2023
1 parent a6395cf commit bd4cbf9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions src/Microsoft.DotNet.Interactive/Utility/StringExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ public static string TruncateForDisplay(
{
firstLine = firstLine[..maxLength] + " ...";
}
else if (lines.Length > 1)
{
// firstLine = firstLine + " ...";
}


return firstLine;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public override NotebookParserServerResponse Read(
string? id = null;
InteractiveDocument? document = null;
byte[]? rawData = null;
string? errorMessage = null;

while (reader.Read())
{
Expand Down

0 comments on commit bd4cbf9

Please sign in to comment.