Skip to content

Commit d7c4638

Browse files
committed
Enable SA1003: Symbols should be spaced correctly
1 parent 6dd9e64 commit d7c4638

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

.editorconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ dotnet_diagnostic.SA1001.severity = suggestion
1212
# SA1002: Semicolons should be spaced correctly
1313
dotnet_diagnostic.SA1002.severity = suggestion
1414

15-
# SA1003: Symbols should be spaced correctly
16-
dotnet_diagnostic.SA1003.severity = suggestion
17-
1815
# SA1004: Documentation lines should begin with single space
1916
dotnet_diagnostic.SA1004.severity = suggestion
2017

src/Dibix.Testing/Extensions/ZipFileExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ private static ZipArchiveEntry DoCreateEntryFromFile(this ZipArchive destination
2020
// Argument checking gets passed down to FileStream's ctor and CreateEntry
2121

2222
using FileStream fs = new FileStream(sourceFileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite, bufferSize: 0x1000, useAsync: false);
23-
ZipArchiveEntry entry = compressionLevel.HasValue ? destination.CreateEntry(entryName, compressionLevel.Value): destination.CreateEntry(entryName);
23+
ZipArchiveEntry entry = compressionLevel.HasValue ? destination.CreateEntry(entryName, compressionLevel.Value) : destination.CreateEntry(entryName);
2424

2525
DateTime lastWrite = File.GetLastWriteTime(sourceFileName);
2626

0 commit comments

Comments
 (0)