(opts = {})
| 47 | }; |
| 48 | |
| 49 | const gitRemoteUrl = (opts = {}) => { |
| 50 | const { remote = GIT_REMOTE } = opts; |
| 51 | const url = gitUrlParse( |
| 52 | execSync(`git config --get remote.${remote}.url`).toString('utf8') |
| 53 | ); |
| 54 | return stripAuth(url.toString(url.protocol === 'http' ? 'http' : 'https')); |
| 55 | }; |
| 56 | |
| 57 | const inferToken = () => { |
| 58 | const { |