mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-08 22:21:23 +00:00
Update log messages for Cline instances to Roo Code instances in regi… (#2604)
Update log messages for Cline instances to Roo Code instances in registerCommands.ts and corresponding test adjustments
This commit is contained in:
parent
d73789cfe4
commit
8cf3c532cf
2 changed files with 2 additions and 2 deletions
|
|
@ -49,6 +49,6 @@ describe("getVisibleProviderOrLog", () => {
|
|||
const result = getVisibleProviderOrLog(mockOutputChannel)
|
||||
|
||||
expect(result).toBeUndefined()
|
||||
expect(mockOutputChannel.appendLine).toHaveBeenCalledWith("Cannot find any visible Cline instances.")
|
||||
expect(mockOutputChannel.appendLine).toHaveBeenCalledWith("Cannot find any visible Roo Code instances.")
|
||||
})
|
||||
})
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import { ClineProvider } from "../core/webview/ClineProvider"
|
|||
export function getVisibleProviderOrLog(outputChannel: vscode.OutputChannel): ClineProvider | undefined {
|
||||
const visibleProvider = ClineProvider.getVisibleInstance()
|
||||
if (!visibleProvider) {
|
||||
outputChannel.appendLine("Cannot find any visible Cline instances.")
|
||||
outputChannel.appendLine("Cannot find any visible Roo Code instances.")
|
||||
return undefined
|
||||
}
|
||||
return visibleProvider
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue