Skip to content

Commit

Permalink
ho hum, really just use the path.
Browse files Browse the repository at this point in the history
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
  • Loading branch information
vaikas authored and asraa committed May 31, 2022
1 parent 4dd5b89 commit 530c29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cosign/tuf/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func getRoot(meta map[string]json.RawMessage, fallback fs.FS) (json.RawMessage,
if !ok {
return nil, errors.New("fs.ReadFileFS unimplemented for embedded repo")
}
trustedRoot, err := rd.ReadFile(filepath.Join("repository", "root.json"))
trustedRoot, err := rd.ReadFile(path.Join("repository", "root.json"))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 530c29e

Please sign in to comment.