mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-28 22:14:52 -07:00
fix: merge duplicate imports in packages/core (3/4) (#20928)
This commit is contained in:
@@ -8,8 +8,12 @@ import { describe, it, expect, vi, afterEach, beforeEach } from 'vitest';
|
||||
|
||||
import nodePath from 'node:path';
|
||||
|
||||
import type { PolicySettings } from './types.js';
|
||||
import { ApprovalMode, PolicyDecision, InProcessCheckerType } from './types.js';
|
||||
import {
|
||||
ApprovalMode,
|
||||
PolicyDecision,
|
||||
InProcessCheckerType,
|
||||
type PolicySettings,
|
||||
} from './types.js';
|
||||
import { isDirectorySecure } from '../utils/security.js';
|
||||
|
||||
vi.unmock('../config/storage.js');
|
||||
|
||||
@@ -17,8 +17,8 @@ import { fileURLToPath } from 'node:url';
|
||||
import {
|
||||
loadPoliciesFromToml,
|
||||
validateMcpPolicyToolNames,
|
||||
type PolicyLoadResult,
|
||||
} from './toml-loader.js';
|
||||
import type { PolicyLoadResult } from './toml-loader.js';
|
||||
import { PolicyEngine } from './policy-engine.js';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
|
||||
Reference in New Issue
Block a user