Skip to content

Commit b44f490

Browse files
authored
add --recurse-submodules to clone so submodules are handled
1 parent 6171682 commit b44f490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/source/git.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ class GitSource extends CachedSource {
682682
// Git on Windows does not seem to automatically create the destination
683683
// directory.
684684
ensureDir(to);
685-
final args = ['clone', if (mirror) '--mirror', from, to];
685+
final args = ['clone', if (mirror) '--mirror', '--recurse-submodules', from, to];
686686

687687
await git.run(args);
688688
}

0 commit comments

Comments
 (0)