Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
MLainer1 committed Sep 24, 2024
1 parent 27296c7 commit e2f542e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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)
})
Expand Down

0 comments on commit e2f542e

Please sign in to comment.