Prettier backfill

This commit is contained in:
Matt Rubens
2025-01-17 14:11:28 -05:00
parent 3bcb4ff8c5
commit 60a0a824b9
174 changed files with 15715 additions and 15428 deletions

View File

@@ -27,13 +27,11 @@ export function activate(context: vscode.ExtensionContext) {
outputChannel.appendLine("Cline extension activated")
// Get default commands from configuration
const defaultCommands = vscode.workspace
.getConfiguration('roo-cline')
.get<string[]>('allowedCommands') || [];
const defaultCommands = vscode.workspace.getConfiguration("roo-cline").get<string[]>("allowedCommands") || []
// Initialize global state if not already set
if (!context.globalState.get('allowedCommands')) {
context.globalState.update('allowedCommands', defaultCommands);
if (!context.globalState.get("allowedCommands")) {
context.globalState.update("allowedCommands", defaultCommands)
}
const sidebarProvider = new ClineProvider(context, outputChannel)