mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-12 06:10:42 -07:00
fix: merge duplicate imports in packages/core (3/4) (#20928)
This commit is contained in:
@@ -51,7 +51,6 @@ import {
|
||||
} from '../services/shellExecutionService.js';
|
||||
import * as fs from 'node:fs';
|
||||
import * as os from 'node:os';
|
||||
import { EOL } from 'node:os';
|
||||
import * as path from 'node:path';
|
||||
import { isSubpath } from '../utils/paths.js';
|
||||
import * as crypto from 'node:crypto';
|
||||
@@ -264,7 +263,7 @@ describe('ShellTool', () => {
|
||||
|
||||
// Simulate pgrep output file creation by the shell command
|
||||
const tmpFile = path.join(os.tmpdir(), 'shell_pgrep_abcdef.tmp');
|
||||
fs.writeFileSync(tmpFile, `54321${EOL}54322${EOL}`);
|
||||
fs.writeFileSync(tmpFile, `54321${os.EOL}54322${os.EOL}`);
|
||||
|
||||
const result = await promise;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user