Skip to content

Commit

Permalink
Fix the build for compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
suganyas committed Jun 27, 2023
1 parent 0d3dcd7 commit 3abf169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oras/internal/option/packer.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (opts *Packer) Parse() error {
if !opts.PathValidationDisabled {
for _, path := range opts.FileRefs {
// Remove the type if specified in the path <file>[:<type>] format
path, _, err = fileref.Parse(path, "")
path, _, err := fileref.Parse(path, "")
if err != nil {
return err
}
Expand Down

0 comments on commit 3abf169

Please sign in to comment.