Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsimon committed Jun 28, 2022
1 parent 35d3681 commit 73a960c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remediation/remediations.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func Setup(c *checker.CheckRequest) error {
}
return
}
if b.Name != nil {
if b != nil && b.Name != nil {
branch = *b.Name
uri := c.Repo.URI()
parts := strings.Split(uri, "/")
Expand Down

0 comments on commit 73a960c

Please sign in to comment.