(name: string)
| 387 | }); |
| 388 | |
| 389 | function addSubmodule(name: string): string { |
| 390 | execFileSync( |
| 391 | 'git', |
| 392 | ['-c', 'protocol.file.allow=always', 'submodule', 'add', '-q', subSource, name], |
| 393 | { cwd: parent, stdio: ['ignore', 'ignore', 'ignore'] }, |
| 394 | ); |
| 395 | git(parent, 'commit', '-q', '-m', 'add submodule'); |
| 396 | return path.join(parent, name); |
| 397 | } |
| 398 | |
| 399 | function addBareGitlink(name: string): string { |
| 400 | const dir = path.join(parent, name); |
no test coverage detected