From e2f542eeb9902a80085b3814b62e4d950fd1345f Mon Sep 17 00:00:00 2001 From: MLainer1 Date: Tue, 24 Sep 2024 10:21:27 +0300 Subject: [PATCH] revert --- src/extension.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/extension.ts b/src/extension.ts index 176aca6..27f6065 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -30,7 +30,6 @@ export function activate(context: vscode.ExtensionContext): void { Logger.createLogger() const contentPath = tools.getContentPath() if (!contentPath) { - vscode.window.showErrorMessage('Could not find content path, run the command from a content directory.'); // dont activate outside of content path return } @@ -71,7 +70,6 @@ export function activate(context: vscode.ExtensionContext): void { context.subscriptions.push( vscode.commands.registerCommand('xsoar.run', (file: vscode.Uri | undefined) => { - const fileToRun = getDirPath(file) runAndDebug.run(fileToRun) })