Skip to content

Commit ed678e4

Browse files
sergiorykovJakeGinnivan
authored andcommitted
code style
1 parent 42ff7e4 commit ed678e4

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

src/GitVersionCore.Tests/VersionFilters/MinDateVersionFilterTests.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
using System;
2-
using GitVersion;
1+
using GitVersion;
32
using GitVersion.VersionCalculation.BaseVersionCalculators;
43
using GitVersion.VersionFilters;
54
using LibGit2Sharp;
65
using NUnit.Framework;
76
using Shouldly;
7+
using System;
88

99
namespace GitVersionCore.Tests.VersionFilters
1010
{
@@ -14,7 +14,6 @@ public class MinDateVersionFilterTests
1414
[Test]
1515
public void VerifyNullGuard()
1616
{
17-
var commit = new MockCommit();
1817
var dummy = DateTimeOffset.UtcNow.AddSeconds(1.0);
1918
var sut = new MinDateVersionFilter(dummy);
2019

src/GitVersionCore/GitVersionContext.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
namespace GitVersion
22
{
3+
using LibGit2Sharp;
34
using System;
45
using System.Linq;
5-
using LibGit2Sharp;
66

77
/// <summary>
88
/// Contextual information about where GitVersion is being run
@@ -111,7 +111,6 @@ void CalculateEffectiveConfiguration()
111111

112112
var commitMessageVersionBump = currentBranchConfig.Value.CommitMessageIncrementing ?? configuration.CommitMessageIncrementing.Value;
113113

114-
var versionFilter =
115114
Configuration = new EffectiveConfiguration(
116115
assemblyVersioningScheme, assemblyInformationalFormat, versioningMode, gitTagPrefix,
117116
tag, nextVersion, incrementStrategy, currentBranchConfig.Key,

src/GitVersionExe/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
namespace GitVersion
22
{
3+
using GitVersion.Helpers;
34
using System;
45
using System.Collections.Generic;
56
using System.ComponentModel;
67
using System.Diagnostics;
78
using System.IO;
89
using System.Linq;
910
using System.Text;
10-
using GitVersion.Helpers;
1111

1212
class Program
1313
{
@@ -127,7 +127,7 @@ static int VerifyArgumentsAndRun()
127127

128128
private static void VerifyConfiguration(Arguments arguments, IFileSystem fileSystem)
129129
{
130-
var gitPreparer = new GitPreparer(arguments.TargetUrl, arguments.DynamicRepositoryLocation,arguments.Authentication,arguments.NoFetch,arguments.TargetPath);
130+
var gitPreparer = new GitPreparer(arguments.TargetUrl, arguments.DynamicRepositoryLocation, arguments.Authentication, arguments.NoFetch, arguments.TargetPath);
131131
ConfigurationProvider.Verify(gitPreparer, fileSystem);
132132
}
133133

@@ -191,4 +191,4 @@ static List<string> GetArgumentsWithoutExeName()
191191
.ToList();
192192
}
193193
}
194-
}
194+
}

0 commit comments

Comments
 (0)