Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit ba23ea5

Browse files
committed
Remove single file support
1 parent 2288735 commit ba23ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: internal/sync/sync.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func (s Sync) initSync() error {
8484

8585
start := time.Now()
8686
// Delete old files on initial sync (e.g git checkout).
87-
err := s.syncPaths(true, s.LocalDir, s.RemoteDir)
87+
err := s.syncPaths(true, s.LocalDir + "/.", s.RemoteDir)
8888
if err == nil {
8989
flog.Info("finished initial sync (%v)", time.Since(start).Truncate(time.Millisecond))
9090
}

0 commit comments

Comments
 (0)