Navigation Menu

Skip to content

Commit

Permalink
Remove BOM?
Browse files Browse the repository at this point in the history
  • Loading branch information
david-driscoll committed May 5, 2017
1 parent 54f7080 commit c55f441
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
@@ -0,0 +1,7 @@
[![codecov](https://codecov.io/gh/OmniSharp/csharp-language-server-protocol/branch/master/graph/badge.svg)](https://codecov.io/gh/OmniSharp/csharp-language-server-protocol)


## C# Language Server Protocol
This is an implementation of the [Language Server Protocol](https://github.com/Microsoft/language-server-protocol) written entirely in C# for .NET.

This is currently under heavy development and the API's are subject to change.
3 changes: 3 additions & 0 deletions build.cake
Expand Up @@ -118,6 +118,9 @@ Task("Coverage")
ReportType = DotCoverReportType.DetailedXML
}
);
var withBom = System.IO.File.ReadAllText(artifacts + "/coverage/coverage.xml");
System.IO.File.WriteAllText(artifacts + "/coverage/coverage.xml", withBom.Replace(_byteOrderMarkUtf8, ""));
});

Task("GitVersion")
Expand Down
1 change: 1 addition & 0 deletions tasks/variables.cake
Expand Up @@ -31,3 +31,4 @@ Dictionary<string, string> GitVersionEnvironmentVariables { get {
{ "GitVersion_CommitDate", gv.CommitDate },
};
} }
var _byteOrderMarkUtf8 = Encoding.UTF8.GetString(Encoding.UTF8.GetPreamble());

0 comments on commit c55f441

Please sign in to comment.