(
protected _git: AuthenticatedGitClient,
config: ReleaseConfig,
protected _github: GithubConfig,
protected _projectRoot: string,
protected _flags: ReleaseToolFlags,
)
| 47 | private previousGitBranchOrRevision = this._git.getCurrentBranchOrRevision(); |
| 48 | /** The release configuration for the release tool run. */ |
| 49 | protected _config: ReleaseConfig; |
| 50 | |
| 51 | constructor( |
| 52 | protected _git: AuthenticatedGitClient, |
| 53 | config: ReleaseConfig, |
| 54 | protected _github: GithubConfig, |
| 55 | protected _projectRoot: string, |
| 56 | protected _flags: ReleaseToolFlags, |
| 57 | ) { |
| 58 | if (_flags.publishRegistry !== undefined) { |
| 59 | this._config = { |
| 60 | ...config, |
| 61 | // Explicitly passed `--publishRegistry` overrides config and bypasses OSS Exit Gate. |
| 62 | publishRegistry: _flags.publishRegistry, |
| 63 | exitGate: undefined, |
| 64 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected