Skip to content

Commit 921f7f3

Browse files
committed
Allow fetching when running mos clone
Fixes #55
1 parent ee3eb26 commit 921f7f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/clone/clone.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func Clone(ctx context.Context, devConn dev.DevConn) error {
6565
}
6666

6767
d, err := m.PrepareLocalDir(".", os.Stderr, false, /* deleteIfFailed */
68-
version.GetMosVersion() /* defaultVersion */, 0 /* pullInterval */, 0 /* cloneDepth */)
68+
version.GetMosVersion() /* defaultVersion */, 1 /* pullInterval */, 0 /* cloneDepth */)
6969

7070
// Chdir is needed for the Web UI mode: immediately go into the cloned repo.
7171
if m.Name != "" {

0 commit comments

Comments
 (0)