Ver Fonte

remove japanese comment

nHigashiWeseek há 1 ano atrás
pai
commit
df2f8eda2d

+ 1 - 1
packages/markdown-splitter/src/services/markdown-splitter.ts

@@ -11,7 +11,7 @@ export type Chunk = {
  * @param label - The label of the chunk
  * @param label - The label of the chunk
  */
  */
 function createChunk(chunks: Chunk[], content: string, label: string) {
 function createChunk(chunks: Chunk[], content: string, label: string) {
-  const trimmedContent = content.trimEnd(); // 末尾の空白と改行を削除
+  const trimmedContent = content.trimEnd();
   if (trimmedContent !== '') {
   if (trimmedContent !== '') {
     chunks.push({ label, content: trimmedContent });
     chunks.push({ label, content: trimmedContent });
   }
   }

+ 1 - 1
packages/markdown-splitter/test/index.spec.ts

@@ -1,7 +1,7 @@
 // splitMarkdownIntoChunks.test.ts
 // splitMarkdownIntoChunks.test.ts
 
 
 import type { Chunk } from '../src/services/markdown-splitter';
 import type { Chunk } from '../src/services/markdown-splitter';
-import { splitMarkdownIntoChunks } from '../src/services/markdown-splitter'; // パスはプロジェクト構造に応じて調整してください
+import { splitMarkdownIntoChunks } from '../src/services/markdown-splitter';
 
 
 describe('splitMarkdownIntoChunks', () => {
 describe('splitMarkdownIntoChunks', () => {