Skip to content

Commit 30115b0

Browse files
antsokCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
1 parent ba7e4d5 commit 30115b0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎dotnet/src/Microsoft.Agents.AI/Harness/FileStore/FileEditor.cs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ internal static string ApplyReplaceLines(string content, IReadOnlyList<FileLineE
9191
if (!string.Equals(actual, TrimLineTerminator(edit.ExpectedLine), StringComparison.Ordinal))
9292
{
9393
throw new ArgumentException(
94-
$"line_number {edit.LineNumber} does not contain the expected text " +
95-
$"(expected '{TrimLineTerminator(edit.ExpectedLine)}', found '{actual}'). " +
94+
$"line_number {edit.LineNumber} does not contain the expected text. " +
9695
"Re-read the file to get current line numbers.");
9796
}
9897
}

0 commit comments

Comments
 (0)