+1
-1
spindle/models/setup_steps.go
+1
-1
spindle/models/setup_steps.go
···
63
63
cloneDepth := 1
64
64
if twf.Clone.Depth > 1 {
65
65
cloneDepth = int(twf.Clone.Depth)
66
-
cloneCmd = append(cloneCmd, []string{"--depth", fmt.Sprintf("%d", cloneDepth)}...)
67
66
}
67
+
cloneCmd = append(cloneCmd, []string{"--depth", fmt.Sprintf("%d", cloneDepth)}...)
68
68
69
69
if twf.Clone.Submodules {
70
70
cloneCmd = append(cloneCmd, "--recursive")