simplify distdir filepath

This commit is contained in:
TomVasile
2020-04-29 16:34:46 +00:00
parent 2ad3a3d861
commit f001295cbb
+1 -1
View File
@@ -42,7 +42,7 @@ func (p Plugin) uploadCommand() *exec.Cmd {
args = append(args, p.Username)
args = append(args, "--password")
args = append(args, p.Password)
args = append(args, filepath.Join(filepath.Dir(p.DistDir), "/*"))
args = append(args, filepath.Join(p.DistDir, "/*"))
return exec.Command("twine", args...)
}