From cd04005ba406da78c748c8df5eadb6f1de607a94 Mon Sep 17 00:00:00 2001 From: GitHub Actions Autoformatter Date: Fri, 9 Aug 2024 16:07:46 +0000 Subject: [PATCH] Auto-format source code --- UnitTests/TestMobileProvisionIndex.cs | 2 +- Xamarin.MacDev/MobileProvision.cs | 4 ++-- Xamarin.MacDev/MobileProvisionIndex.cs | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/UnitTests/TestMobileProvisionIndex.cs b/UnitTests/TestMobileProvisionIndex.cs index 90b53ad..bdd081f 100644 --- a/UnitTests/TestMobileProvisionIndex.cs +++ b/UnitTests/TestMobileProvisionIndex.cs @@ -33,7 +33,7 @@ namespace UnitTests { [TestFixture] public class TestMobileProvisionIndex { - static readonly string[] ProfileDirectories = new string [] { "../../TestData/Provisioning Profiles" }; + static readonly string [] ProfileDirectories = new string [] { "../../TestData/Provisioning Profiles" }; [Test] public void TestCreateIndex () diff --git a/Xamarin.MacDev/MobileProvision.cs b/Xamarin.MacDev/MobileProvision.cs index 2116c24..b1b533b 100644 --- a/Xamarin.MacDev/MobileProvision.cs +++ b/Xamarin.MacDev/MobileProvision.cs @@ -50,7 +50,7 @@ public class MobileProvision { public const string AutomaticAppStore = "Automatic:AppStore"; public const string AutomaticInHouse = "Automatic:InHouse"; public const string AutomaticAdHoc = "Automatic:AdHoc"; - public static readonly string[] ProfileDirectories; + public static readonly string [] ProfileDirectories; static MobileProvision () { @@ -58,7 +58,7 @@ static MobileProvision () || Environment.OSVersion.Platform == PlatformID.Unix) { string personal = Environment.GetFolderPath (Environment.SpecialFolder.UserProfile); - ProfileDirectories = new string[] { + ProfileDirectories = new string [] { // Xcode >= 16.x uses ~/Library/Developer/Xcode/UserData/Provisioning Profiles Path.Combine (personal, "Library", "Developer", "Xcode", "UserData", "Provisioning Profiles"), diff --git a/Xamarin.MacDev/MobileProvisionIndex.cs b/Xamarin.MacDev/MobileProvisionIndex.cs index 0758a50..cc8a306 100644 --- a/Xamarin.MacDev/MobileProvisionIndex.cs +++ b/Xamarin.MacDev/MobileProvisionIndex.cs @@ -263,7 +263,7 @@ public void Save (string fileName) } } - public static MobileProvisionIndex CreateIndex (string[] profileDirs, string indexName) + public static MobileProvisionIndex CreateIndex (string [] profileDirs, string indexName) { var index = new MobileProvisionIndex (); var mtime = DateTime.MinValue; @@ -300,7 +300,7 @@ public static MobileProvisionIndex CreateIndex (string[] profileDirs, string ind return index; } - static bool AnyProfileDirModifiedSince (string[] dirs, DateTime mtime) + static bool AnyProfileDirModifiedSince (string [] dirs, DateTime mtime) { foreach (var dir in dirs) { if (!Directory.Exists (dir)) { @@ -318,7 +318,7 @@ static bool AnyProfileDirModifiedSince (string[] dirs, DateTime mtime) return false; } - public static MobileProvisionIndex OpenIndex (string[] profileDirs, string indexName) + public static MobileProvisionIndex OpenIndex (string [] profileDirs, string indexName) { MobileProvisionIndex index;