Skip to content

Commit

Permalink
remove empty blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpach committed Sep 29, 2020
1 parent 7ca0892 commit c720055
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Assets/Mirror/Tests/Editor/Weaver/WeaverAssembler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,21 +164,12 @@ public static void Build()
assemblyBuilder.compilerOptions.AllowUnsafeCode = true;
}

assemblyBuilder.buildStarted += delegate (string assemblyPath)
{
//Debug.LogFormat("Assembly build started for {0}", assemblyPath);
};

assemblyBuilder.buildFinished += delegate (string assemblyPath, CompilerMessage[] compilerMessages)
{
CompilerMessages.AddRange(compilerMessages);
foreach (CompilerMessage cm in compilerMessages)
{
if (cm.type == CompilerMessageType.Warning)
{
//Debug.LogWarningFormat("{0}:{1} -- {2}", cm.file, cm.line, cm.message);
}
else if (cm.type == CompilerMessageType.Error)
if (cm.type == CompilerMessageType.Error)
{
Debug.LogErrorFormat("{0}:{1} -- {2}", cm.file, cm.line, cm.message);
CompilerErrors = true;
Expand Down

0 comments on commit c720055

Please sign in to comment.