()
| 68 | }; |
| 69 | |
| 70 | const commandOpenOnlineEditor = async () => { |
| 71 | const currentScheme = adapterManager.getCurrentScheme(); |
| 72 | const onlineEditorPath = ['github1s', 'ossinsight'].includes(currentScheme) ? '/editor' : '/'; |
| 73 | const targetLink = vscode.Uri.parse((await router.href()) || '').with({ path: onlineEditorPath }); |
| 74 | return vscode.commands.executeCommand('vscode.open', targetLink); |
| 75 | }; |
| 76 | |
| 77 | const commandRefreshRepository = async () => { |
| 78 | if (['github1s', 'gitlab1s'].includes(adapterManager.getCurrentScheme())) { |
nothing calls this directly
no test coverage detected