deps: proto files in root of repo not works
Closed this issue · 1 comments
d-enk commented
Line 59 in 4ae83a4
In the case where the proto file is located in the root
function returns []string{""}
that leads to
cmd.Get: repository.Archive: utils.RunCmd: Command: git; Err: exit status 128; Stderr: fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths
need nil
But in fact, it is enough to pass *.proto
to git archive
command.
Personally, I used it this way, and have not come across cases when some other files are needed
hound672 commented
Great! Thanks for advise :)