Skip to content

Commit

Permalink
Fix replace directive path. Use relative path instead of asbolute. Th…
Browse files Browse the repository at this point in the history
…is enables protodist to be ran inside of docker and generate artifacts in a binded volume (on host machine)
  • Loading branch information
4nte committed Mar 3, 2021
1 parent 8eee048 commit a047e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/target/golang.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ func Golang(protoOutDir string, gitCfg git.Config, cloneBranch string, cloneDir

var localPath string
if deployTarget == "local" {
localPath = path.Join(deployDir, repoName)
localPath = path.Join("../", repoName)
}
depResolver.AddModule(modulePath, localPath, requiredProtoPackages, requiredThirdPartyPackages)
}
Expand Down

0 comments on commit a047e23

Please sign in to comment.