Skip to content

Commit

Permalink
refactor: fix SA1001 (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee authored Aug 16, 2022
1 parent 06e5188 commit 981c4ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -459,10 +459,6 @@ dotnet_naming_rule.parameters_rule.severity = warning
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers
##########################################

# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1001.md
# Commas should not be preceded by whitespace
dotnet_diagnostic.SA1001.severity = suggestion

# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1005.md
# Single line comment should begin with a space
dotnet_diagnostic.SA1005.severity = suggestion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public async Task TestLinuxContainerDetector_HandlesScratchBase() {
.Throws(new IOException());
this.mockDockerService.Setup(service => service.InspectImageAsync(It.IsAny<string>(), It.IsAny<CancellationToken>()))
// Specify BaseImageRef = scratch to verify that cope
.ReturnsAsync(new ContainerDetails { Id = 1, ImageId = NodeLatestDigest, Layers = Enumerable.Empty<DockerLayer>() , BaseImageRef = "scratch"});
.ReturnsAsync(new ContainerDetails { Id = 1, ImageId = NodeLatestDigest, Layers = Enumerable.Empty<DockerLayer>(), BaseImageRef = "scratch"});
await this.TestLinuxContainerDetector();
}
}
Expand Down

0 comments on commit 981c4ed

Please sign in to comment.