Skip to content

Commit 6579183

Browse files
committed
(new-cli) - use gitignore and editorconfig from root
1 parent 7c8203e commit 6579183

File tree

5 files changed

+2
-335
lines changed

5 files changed

+2
-335
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,4 @@ docs/output
133133
node_modules
134134

135135
dogfood/
136+
new-cli/log.txt

new-cli/.editorconfig

Lines changed: 0 additions & 197 deletions
This file was deleted.

new-cli/.gitignore

Lines changed: 0 additions & 136 deletions
This file was deleted.

new-cli/GitVersion.Common/Helpers/EncodingHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static class EncodingHelper
3636
var length = stream.Length > maxPreambleLength ? maxPreambleLength : stream.Length;
3737

3838
var bytes = new byte[length];
39-
stream.Read(bytes, 0, (int)length);
39+
_ = stream.Read(bytes, 0, (int)length);
4040
return DetectEncoding(bytes);
4141
}
4242

new-cli/GitVersion.sln

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sln", "sln", "{610883EF-A96
1212
ProjectSection(SolutionItems) = preProject
1313
Directory.Build.props = Directory.Build.props
1414
Directory.Packages.props = Directory.Packages.props
15-
.editorconfig = .editorconfig
1615
EndProjectSection
1716
EndProject
1817
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitVersion.Normalization", "GitVersion.Normalization\GitVersion.Normalization.csproj", "{45776CC1-7FDA-4299-86A7-9F11E7855CE4}"

0 commit comments

Comments
 (0)