Skip to content

Commit c55f441

Browse files
Remove BOM?
1 parent 54f7080 commit c55f441

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[![codecov](https://codecov.io/gh/OmniSharp/csharp-language-server-protocol/branch/master/graph/badge.svg)](https://codecov.io/gh/OmniSharp/csharp-language-server-protocol)
2+
3+
4+
## C# Language Server Protocol
5+
This is an implementation of the [Language Server Protocol](https://github.com/Microsoft/language-server-protocol) written entirely in C# for .NET.
6+
7+
This is currently under heavy development and the API's are subject to change.

build.cake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ Task("Coverage")
118118
ReportType = DotCoverReportType.DetailedXML
119119
}
120120
);
121+
122+
var withBom = System.IO.File.ReadAllText(artifacts + "/coverage/coverage.xml");
123+
System.IO.File.WriteAllText(artifacts + "/coverage/coverage.xml", withBom.Replace(_byteOrderMarkUtf8, ""));
121124
});
122125

123126
Task("GitVersion")

tasks/variables.cake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ Dictionary<string, string> GitVersionEnvironmentVariables { get {
3131
{ "GitVersion_CommitDate", gv.CommitDate },
3232
};
3333
} }
34+
var _byteOrderMarkUtf8 = Encoding.UTF8.GetString(Encoding.UTF8.GetPreamble());

0 commit comments

Comments
 (0)