Skip to content

Commit

Permalink
Auto-format source code
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Autoformatter committed Aug 9, 2024
1 parent 0683fa4 commit cd04005
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion UnitTests/TestMobileProvisionIndex.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down
4 changes: 2 additions & 2 deletions Xamarin.MacDev/MobileProvision.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ 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 ()
{
if (Environment.OSVersion.Platform == PlatformID.MacOSX
|| 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"),

Expand Down
6 changes: 3 additions & 3 deletions Xamarin.MacDev/MobileProvisionIndex.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)) {
Expand All @@ -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;

Expand Down

0 comments on commit cd04005

Please sign in to comment.