Skip to content

Commit f6d4804

Browse files
committed
Import correction
1 parent 64ee304 commit f6d4804

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/core/src/codewhispererChat/tools/executeBash.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { split } from 'shlex'
1212
import path from 'path'
1313
import * as vscode from 'vscode'
1414
import { isInDirectory } from '../../shared/filesystemUtilities'
15+
import { ConversationTracker } from '../storages/conversationTracker'
1516

1617
export enum CommandCategory {
1718
ReadOnly,
@@ -252,9 +253,6 @@ export class ExecuteBash {
252253
if (!this.triggerId) {
253254
return false
254255
}
255-
256-
// Import here to avoid circular dependency
257-
const { ConversationTracker } = require('../storages/conversationTracker')
258256
const cancellationtracker = ConversationTracker.getInstance()
259257
return cancellationtracker.isTriggerCancelled(this.triggerId)
260258
}

0 commit comments

Comments
 (0)