Skip to content

Commit 02b8e7a

Browse files
committed
remove pluralize common import from code-map
1 parent 80a9a94 commit 02b8e7a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/code-map/src/parse.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import * as fs from 'fs'
22
import * as path from 'path'
33

4-
import { pluralize } from '@codebuff/common/util/string'
54
import { uniq } from 'lodash'
65

76
import { getLanguageConfig } from './languages'
@@ -131,7 +130,7 @@ export async function getFileTokenScores(
131130
if (DEBUG_PARSING) {
132131
const endTime = Date.now()
133132
console.log(
134-
`Parsed ${pluralize(filePaths.length, 'file')} in ${endTime - startTime}ms`,
133+
`Parsed ${filePaths.length} files in ${endTime - startTime}ms`,
135134
)
136135

137136
fs.writeFileSync(

0 commit comments

Comments
 (0)