(
/** The configuration, containing the github specific configuration. */
config: {github: GithubConfig},
/** The full path to the root of the repository base. */
readonly baseDir = determineRepoBaseDirFromCwd(),
)
| 54 | readonly gitBinPath: string = 'git'; |
| 55 | |
| 56 | constructor( |
| 57 | /** The configuration, containing the github specific configuration. */ |
| 58 | config: {github: GithubConfig}, |
| 59 | /** The full path to the root of the repository base. */ |
| 60 | readonly baseDir = determineRepoBaseDirFromCwd(), |
| 61 | ) { |
| 62 | this.config = config; |
| 63 | this.remoteConfig = config.github; |
| 64 | this.remoteParams = {owner: config.github.owner, repo: config.github.name}; |
| 65 | this.mainBranchName = config.github.mainBranchName; |
| 66 | } |
| 67 | |
| 68 | /** Executes the given git command. Throws if the command fails. */ |
| 69 | run(args: string[], options?: GitCommandRunOptions): Omit<SpawnSyncReturns<string>, 'status'> { |
nothing calls this directly
no test coverage detected