Skip to content

Commit

Permalink
fix: path separator issue on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ookkoouu committed Mar 25, 2024
1 parent 07de072 commit 54566be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/pack.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func tomlToPack(
if hashFmt == "" {
hashFmt = index.HashFormat
}
modPath := filepath.Join(filepath.Dir(pack.Index.File), f.File)
modPath := filepath.ToSlash(filepath.Join(filepath.Dir(pack.Index.File), f.File))
modUrl := packUrl.JoinPath("..", modPath)
dl := &Download{
Type: DL_Url,
Expand Down

0 comments on commit 54566be

Please sign in to comment.