migrate to dotnet-format tool (#2016)

* migrate to new dotnet-format tool in build script (run on local build)
* reformat code
This commit is contained in:
Brendan Forster
2019-09-24 11:34:50 -03:00
committed by GitHub
parent aeb8d19f29
commit ce5ea64428
27 changed files with 54 additions and 124 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ namespace Octokit
/// Body of the pull request (optional)
/// </summary>
public string Body { get; set; }
/// <summary>
/// Whether the pull request is in a draft state or not (optional)
/// </summary>
@@ -331,7 +331,7 @@ namespace Octokit
/// Matches repositories with regards to both the <param name="from"/> and <param name="to"/> dates.
/// </summary>
[Obsolete("This ctor does not support the time component or timezone and will be removed in a future release. Please use the DateTimeOffset overload instead")]
public DateRange(DateTime from, DateTime to)
public DateRange(DateTime from, DateTime to)
{
query = $"{from.ToString(DatePattern, CultureInfo.InvariantCulture)}..{to.ToString(DatePattern, CultureInfo.InvariantCulture)}";
}