Skip to content

Commit 8892ac7

Browse files
committed
chore: fix format
1 parent d989189 commit 8892ac7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/agent/src/tools/shell/shellStart.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
22

3-
import type { ToolContext } from '../../core/types';
43
import { shellStartTool } from './shellStart';
54

5+
import type { ToolContext } from '../../core/types';
6+
67
// Mock child_process.spawn
78
vi.mock('child_process', () => {
89
const mockProcess = {

packages/agent/src/tools/shell/shellStart.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ export const shellStartTool: Tool<Parameters, ReturnType> = {
112112
let hasResolved = false;
113113

114114
// Determine if we need to use a special approach for stdin content
115-
const isWindows = typeof process !== 'undefined' && process.platform === 'win32';
115+
const isWindows =
116+
typeof process !== 'undefined' && process.platform === 'win32';
116117
let childProcess;
117118

118119
if (stdinContent && stdinContent.length > 0) {
@@ -296,4 +297,4 @@ export const shellStartTool: Tool<Parameters, ReturnType> = {
296297
}
297298
}
298299
},
299-
};
300+
};

0 commit comments

Comments
 (0)