Skip to content

Commit

Permalink
fixup transposition typos in remediation package
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Worth committed Dec 13, 2023
1 parent 2c20be0 commit f343bdb
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 f343bdb

Please sign in to comment.