(args: BaseSubmoduleSyncArgs)
| 152 | } |
| 153 | |
| 154 | export async function syncLocalGitSubmodules(args: BaseSubmoduleSyncArgs): Promise<void> { |
| 155 | if (!(await hasLocalGitmodules(args.workspacePath))) { |
| 156 | return; |
| 157 | } |
| 158 | |
| 159 | await runSubmoduleMaterialization({ |
| 160 | ...args, |
| 161 | runtime: new LocalRuntime(args.workspacePath), |
| 162 | }); |
| 163 | } |
| 164 | |
| 165 | export async function syncRuntimeGitSubmodules(args: RuntimeSubmoduleSyncArgs): Promise<void> { |
| 166 | if (!(await hasRuntimeGitmodules(args))) { |
no test coverage detected