Skip to content

Commit

Permalink
📖 fixup transposition typos in remediation package (#3734)
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Worth <[email protected]>
  • Loading branch information
daveworth authored Dec 18, 2023
1 parent d5900ed commit f4bf574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions remediation/remediations.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func New(c *checker.CheckRequest) (*RemediationMetadata, error) {
return &RemediationMetadata{Branch: branch, Repo: repo}, nil
}

// CreateWorkflowPinningRemediation create remediaiton for pinninn GH Actions.
// CreateWorkflowPinningRemediation create remediation for pinning GH Actions.
func (r *RemediationMetadata) CreateWorkflowPinningRemediation(filepath string) *rule.Remediation {
return r.createWorkflowRemediation(filepath, "pin")
}
Expand Down Expand Up @@ -100,7 +100,7 @@ func (c CraneDigester) Digest(name string) (string, error) {
return crane.Digest(name)
}

// CreateDockerfilePinningRemediation create remediaiton for pinning Dockerfile images.
// CreateDockerfilePinningRemediation create remediation for pinning Dockerfile images.
func CreateDockerfilePinningRemediation(dep *checker.Dependency, digester Digester) *rule.Remediation {
name, ok := dockerImageName(dep)
if !ok {
Expand Down

0 comments on commit f4bf574

Please sign in to comment.