summaryrefslogtreecommitdiff
path: root/packages/core/src/tools/read-file.ts
diff options
context:
space:
mode:
authorNoritaka Kobayashi <[email protected]>2025-06-29 18:09:15 +0900
committerGitHub <[email protected]>2025-06-29 09:09:15 +0000
commitb980a47879076c030f642abc715a9f7ef6f39a35 (patch)
treea73203ed9cd09fba5f5c549d9368f40b9ac19eae /packages/core/src/tools/read-file.ts
parente188daab91b98edb5ad5b3eca7d8b24fc945b7e3 (diff)
refactor: remove imported multiple times (#1846)
Diffstat (limited to 'packages/core/src/tools/read-file.ts')
-rw-r--r--packages/core/src/tools/read-file.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/core/src/tools/read-file.ts b/packages/core/src/tools/read-file.ts
index 5cf49209..1060ac8d 100644
--- a/packages/core/src/tools/read-file.ts
+++ b/packages/core/src/tools/read-file.ts
@@ -8,9 +8,12 @@ import path from 'path';
import { SchemaValidator } from '../utils/schemaValidator.js';
import { makeRelative, shortenPath } from '../utils/paths.js';
import { BaseTool, ToolResult } from './tools.js';
-import { isWithinRoot, processSingleFileContent } from '../utils/fileUtils.js';
+import {
+ isWithinRoot,
+ processSingleFileContent,
+ getSpecificMimeType,
+} from '../utils/fileUtils.js';
import { Config } from '../config/config.js';
-import { getSpecificMimeType } from '../utils/fileUtils.js';
import {
recordFileOperationMetric,
FileOperation,