Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Marina Moore <[email protected]>
  • Loading branch information
mnm678 committed Nov 29, 2021
1 parent 49bc1fd commit 83c313a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,7 @@ func (r *Repo) RemoveTargetsWithExpires(paths []string, expires time.Time) error
if err != nil {
return err
}

if len(paths) == 0 {
t.Targets = make(data.TargetFiles)
} else {
Expand Down

0 comments on commit 83c313a

Please sign in to comment.