Skip to content

Commit fccb263

Browse files
committed
Adjust github format to be more readable
This patch changes to format to replace the \n that were not visible in the annotation with another more readable format. And it removes the Exit code from the github annotation message. Also updates the version to 0.1.4
1 parent fdff7f8 commit fccb263

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Program.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,12 @@ private static string formatGithub(string message, List<string> errors, string r
216216
output += "file=" + (relPath ?? "?") + ",";
217217
output += "line=" + (foundLine != null ? ((int)foundLine).ToString() : "?");
218218
output += "::";
219-
output += "Code (" + (exitCode != null ? ((int)exitCode).ToString() : "???") + ") ";
220-
output += message + "\\n";
219+
output += message;
221220

222221
if (errors != null)
223-
output += "Errors: \\n";
222+
output += " -->";
224223
foreach (string error in errors)
225-
output += error + "\\n";
224+
output += " \"" + error + "\"";
226225

227226
// Also output human readable format for the log files
228227
return output + "\n" + formatStandard(message, errors, relPath, foundLine, exitCode);

Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
1818
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
1919

20-
[assembly: AssemblyVersion("0.1.3.0")]
20+
[assembly: AssemblyVersion("0.1.4.0")]
2121

2222
// The following attributes are used to specify the signing key for the assembly,
2323
// if desired. See the Mono documentation for more information about signing.

0 commit comments

Comments
 (0)