From 8ec2d8339fe0bf2c0807c8dd69d92c67a404bfc3 Mon Sep 17 00:00:00 2001 From: Sentry Github Bot Date: Wed, 9 Mar 2022 18:04:02 +0000 Subject: [PATCH] Format code --- src/Sentry.Unity.Editor/EditorFileIO.cs | 2 +- src/Sentry.Unity.Editor/IEditorApplication.cs | 2 +- src/Sentry.Unity.Editor/Native/SentryWindowsPlayer.cs | 6 +++--- src/Sentry.Unity.Editor/Native/Temp.cs | 4 ++-- test/Sentry.Unity.Editor.Tests/EditorFileIOTests.cs | 2 +- .../Native/SentryWindowsPlayerTests.cs | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Sentry.Unity.Editor/EditorFileIO.cs b/src/Sentry.Unity.Editor/EditorFileIO.cs index 96e0cb38a..2b60dbe55 100644 --- a/src/Sentry.Unity.Editor/EditorFileIO.cs +++ b/src/Sentry.Unity.Editor/EditorFileIO.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using Sentry.Extensibility; using UnityEditor; diff --git a/src/Sentry.Unity.Editor/IEditorApplication.cs b/src/Sentry.Unity.Editor/IEditorApplication.cs index 3ba48e7c1..557fe5fa4 100644 --- a/src/Sentry.Unity.Editor/IEditorApplication.cs +++ b/src/Sentry.Unity.Editor/IEditorApplication.cs @@ -1,4 +1,4 @@ -using UnityEditor; +using UnityEditor; namespace Sentry.Unity.Editor { diff --git a/src/Sentry.Unity.Editor/Native/SentryWindowsPlayer.cs b/src/Sentry.Unity.Editor/Native/SentryWindowsPlayer.cs index 5e7a6543a..125350d59 100644 --- a/src/Sentry.Unity.Editor/Native/SentryWindowsPlayer.cs +++ b/src/Sentry.Unity.Editor/Native/SentryWindowsPlayer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.IO; using Sentry.Extensibility; @@ -56,7 +56,7 @@ internal static string LocateMSBuild(string vsWherePath, IDiagnosticLogger? logg StartInfo.Arguments = "-latest -requires Microsoft.Component.MSBuild -find MSBuild\\**\\Bin\\MSBuild.exe"; var vsWhereOutput = ""; - var process = new Process {StartInfo = StartInfo}; + var process = new Process { StartInfo = StartInfo }; process.OutputDataReceived += (sender, args) => vsWhereOutput += args.Data; process.Start(); process.BeginOutputReadLine(); @@ -113,7 +113,7 @@ public static void Build(SentryUnityOptions options, string executablePath) var outputData = ""; var errorData = ""; - var process = new Process {StartInfo = StartInfo}; + var process = new Process { StartInfo = StartInfo }; process.OutputDataReceived += (sender, args) => outputData += args.Data; process.ErrorDataReceived += (sender, args) => errorData += args.Data; process.Start(); diff --git a/src/Sentry.Unity.Editor/Native/Temp.cs b/src/Sentry.Unity.Editor/Native/Temp.cs index b9becf75e..d19f6ec6b 100644 --- a/src/Sentry.Unity.Editor/Native/Temp.cs +++ b/src/Sentry.Unity.Editor/Native/Temp.cs @@ -1,4 +1,4 @@ -using UnityEditor; +using UnityEditor; namespace Sentry.Unity.Editor.Native { @@ -7,7 +7,7 @@ public static class Temp [MenuItem("Tools/ClickMe")] public static void ClickMe() { - var options = new SentryUnityOptions() {Debug = true, DiagnosticLevel = SentryLevel.Debug,}; + var options = new SentryUnityOptions() { Debug = true, DiagnosticLevel = SentryLevel.Debug, }; options.DiagnosticLogger = new UnityLogger(options); SentryWindowsPlayer.Build(options, ""); } diff --git a/test/Sentry.Unity.Editor.Tests/EditorFileIOTests.cs b/test/Sentry.Unity.Editor.Tests/EditorFileIOTests.cs index 0414a096e..959f68c26 100644 --- a/test/Sentry.Unity.Editor.Tests/EditorFileIOTests.cs +++ b/test/Sentry.Unity.Editor.Tests/EditorFileIOTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Linq; using NUnit.Framework; diff --git a/test/Sentry.Unity.Editor.Tests/Native/SentryWindowsPlayerTests.cs b/test/Sentry.Unity.Editor.Tests/Native/SentryWindowsPlayerTests.cs index 4349231ff..be17b9dbe 100644 --- a/test/Sentry.Unity.Editor.Tests/Native/SentryWindowsPlayerTests.cs +++ b/test/Sentry.Unity.Editor.Tests/Native/SentryWindowsPlayerTests.cs @@ -1,4 +1,4 @@ -namespace Sentry.Unity.Editor.Tests.Native +namespace Sentry.Unity.Editor.Tests.Native { public class WindowsPlayerBuilderTests {