Skip to content

Commit

Permalink
fix: fix windows path case
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <zongzhe1024@163.com>
  • Loading branch information
zong-zhe committed Jun 4, 2024
1 parent dee1b0c commit fe4dfe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/opt/opt.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func NewOciOptionsFromRef(refStr string, settings *settings.Settings) (*OciOptio
if err != nil {
return nil, err
}
repo = filepath.Join(repo, pkgName)
repo = fmt.Sprintf("%s/%s", repo, pkgName)
} else {
reg = ref.Registry
repo = ref.Repository
Expand Down

0 comments on commit fe4dfe3

Please sign in to comment.