Skip to content

Commit

Permalink
Merge 6921472 into 1d50f50
Browse files Browse the repository at this point in the history
  • Loading branch information
daemon365 authored May 19, 2023
2 parents 1d50f50 + 6921472 commit 3212c41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/kratos/internal/project/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ func run(_ *cobra.Command, args []string) {
if e != nil {
panic(e)
}
// Get the relative path for adding a project based on Go modules
p.Path = filepath.Join(strings.TrimPrefix(workingDir, projectRoot+"/"), p.Name)
done <- p.Add(ctx, workingDir, repoURL, branch, mod)
}()
select {
Expand Down

0 comments on commit 3212c41

Please sign in to comment.