Skip to content

Commit

Permalink
refactor: fix SA1005 (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee authored Aug 16, 2022
1 parent 981c4ed commit a99550f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 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/SA1005.md
# Single line comment should begin with a space
dotnet_diagnostic.SA1005.severity = suggestion

# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1101.md
# Prefix local calls with this
dotnet_diagnostic.SA1101.severity = suggestion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ private bool TryToCreateGoComponentFromModLine(string line, out GoComponent goCo
return true;
}

//For more information about the format of the go.sum file
//visit https://golang.org/cmd/go/#hdr-Module_authentication_using_go_sum
// For more information about the format of the go.sum file
// visit https://golang.org/cmd/go/#hdr-Module_authentication_using_go_sum
private void ParseGoSumFile(
ISingleFileComponentRecorder singleFileComponentRecorder,
IComponentStream file)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ await this.DockerService.TryPullImageAsync(image, cancellationToken)))
var image = kvp.Key;
var baseImageLayerCount = await this.GetBaseImageLayerCount(internalContainerDetails, image, cancellationToken);

//Update the layer information to specify if a layer was fond in the specified baseImage
// Update the layer information to specify if a layer was fond in the specified baseImage
internalContainerDetails.Layers = internalContainerDetails.Layers.Select(layer => new DockerLayer
{
DiffId = layer.DiffId,
Expand Down

0 comments on commit a99550f

Please sign in to comment.