()
| 15 | channel = 'git'; |
| 16 | |
| 17 | constructor() { |
| 18 | super(); |
| 19 | onNativeSignInStatus(status => { |
| 20 | for (const window of BrowserWindow.getAllWindows()) { |
| 21 | window.webContents.send('git.native-sign-in-status', status); |
| 22 | } |
| 23 | }); |
| 24 | onNativeCredentialError(error => { |
| 25 | for (const window of BrowserWindow.getAllWindows()) { |
| 26 | window.webContents.send('git.native-credential-error', error); |
| 27 | } |
| 28 | }); |
| 29 | } |
| 30 | |
| 31 | /** Cancel a System Git Credentials sign-in that is waiting for the user. */ |
| 32 | cancelNativeSignIn(_sender: Electron.WebContents, id: string) { |
nothing calls this directly
no test coverage detected