Skip to content

Commit

Permalink
use unix path separator
Browse files Browse the repository at this point in the history
  • Loading branch information
lsnow99 authored Aug 8, 2022
1 parent ea9ecf2 commit 8063d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/dudu/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func populateProject(projectName, rootFolder string) {
populateProject(projectName, fullName)
} else {
// Create directory structure
relName := path.Join(strings.Split(fullName, string(os.PathSeparator))[1:]...)
relName := path.Join(strings.Split(fullName, "/")[1:]...)
outFile := path.Join(projectName, relName)
outPath, _ := path.Split(outFile)

Expand Down

0 comments on commit 8063d20

Please sign in to comment.