We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3052aa8 commit cee4c2dCopy full SHA for cee4c2d
handleprivaterepo.go
@@ -8,7 +8,6 @@ import (
8
"os"
9
"os/exec"
10
"path"
11
- "strconv"
12
"strings"
13
14
"golang.org/x/mod/modfile"
@@ -129,7 +128,7 @@ func clonePrivateRepo(projectCfg ProjectSpec) goPackageFunc {
129
128
return fmt.Errorf(prefix("error: failed matching private repo: %w"), err)
130
} else if match {
131
clonePath := path.Join(privateRepoDir, r.Mod.Path)
132
- newModPath := "." + strconv.QuoteRune(os.PathSeparator) + path.Join(PrivateRepoDir, r.Mod.Path)
+ newModPath := "." + string(os.PathSeparator) + path.Join(PrivateRepoDir, r.Mod.Path)
133
134
log.Printf(prefix("found private repo: %s"), r.Mod.Path)
135
0 commit comments