Skip to content

Commit 2b56b82

Browse files
committed
add missing [] next to string to make it stringbuilder
1 parent f64b62c commit 2b56b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/terminal/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export async function waitForShellIntegration(terminal: Terminal): Promise<boole
4444

4545
// Condition 3: Detect prompt patterns in terminal output
4646
new Promise<boolean>((resolve) => {
47-
const dataEvents: string = [];
47+
const dataEvents: string[] = [];
4848
const debounced = createSimpleDebounce(50, () => {
4949
if (dataEvents && detectsCommonPromptPattern(dataEvents.join(''))) {
5050
resolve(false);

0 commit comments

Comments
 (0)