()
| 189 | } |
| 190 | |
| 191 | async getRemoteOriginURI() { |
| 192 | try { |
| 193 | const remoteOriginURI = await git.getConfig({ |
| 194 | ...this._baseOpts, |
| 195 | path: 'remote.origin.url', |
| 196 | }); |
| 197 | |
| 198 | return remoteOriginURI; |
| 199 | } catch { |
| 200 | // Ignore error |
| 201 | return this._baseOpts.uri || ''; |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | async initFromClone({ repoId, url, credentialsId, directory, fs, gitDirectory, ref }: InitFromCloneOptions) { |
| 206 | this._baseOpts = { |
no outgoing calls
no test coverage detected