Skip to content

Commit 1f49dab

Browse files
authored
Change formatting standards to new line at end of file (#225)
1 parent 8afcb6c commit 1f49dab

File tree

66 files changed

+66
-66
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+66
-66
lines changed

src/.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ tab_width = 4
880880

881881
# New line preferences
882882
end_of_line = lf
883-
insert_final_newline = false
883+
insert_final_newline = true
884884

885885
#### .NET Coding Conventions ####
886886

src/Octoshift/AdoApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,4 +521,4 @@ public virtual async Task LockRepo(string org, string teamProjectId, string repo
521521
await _client.PostAsync(url, payload);
522522
}
523523
}
524-
}
524+
}

src/Octoshift/AdoClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,4 @@ private void CheckForRetryDelay(HttpResponseMessage response)
137137
}
138138
}
139139
}
140-
}
140+
}

src/Octoshift/ArchiveMigrationStatus.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ public static class ArchiveMigrationStatus
77
public const string Exported = "exported";
88
public const string Failed = "failed";
99
}
10-
}
10+
}

src/Octoshift/Extensions/ObjectExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ public static class ObjectExtensions
77
public static string ToJson(this object obj) =>
88
obj is null ? null : JsonConvert.SerializeObject(obj);
99
}
10-
}
10+
}

src/Octoshift/Extensions/StringExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ public static class StringExtensions
77
{
88
public static StringContent ToStringContent(this string s) => new(s, Encoding.UTF8, "application/json");
99
}
10-
}
10+
}

src/Octoshift/GithubApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,4 +350,4 @@ public virtual async Task<string> GetArchiveMigrationUrl(string apiUrl, string o
350350
return response;
351351
}
352352
}
353-
}
353+
}

src/Octoshift/GithubClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ private string GetNextUrl(KeyValuePair<string, IEnumerable<string>>[] headers)
120120
private string ExtractLinkHeader(KeyValuePair<string, IEnumerable<string>>[] headers) =>
121121
headers.SingleOrDefault(kvp => kvp.Key == "Link").Value?.FirstOrDefault();
122122
}
123-
}
123+
}

src/Octoshift/OctoLogger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,4 @@ public virtual void LogSuccess(string msg)
134134

135135
public virtual void RegisterSecret(string secret) => _secrets.Add(secret);
136136
}
137-
}
137+
}

src/Octoshift/OctoshiftCliException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ public OctoshiftCliException(string message, Exception innerException) : base(me
1616
{
1717
}
1818
}
19-
}
19+
}

0 commit comments

Comments
 (0)