Skip to content

Commit

Permalink
Merge pull request #931 from milvus-io/feat/split-translate
Browse files Browse the repository at this point in the history
fix: file not found
  • Loading branch information
zhanshuyou authored Sep 4, 2024
2 parents 445935d + bf2f685 commit 1e0060b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const DEEPL_HEADERS = {
"Content-Type": "application/json",
Authorization: `DeepL-Auth-Key ${DEEPL_API_KEY}`,
};
const GLOSSARY_ID = fs.readFileSync("./tools/glossary_id.txt", "utf8");
const GLOSSARY_ID = fs.readFileSync("./tools/GLOSSARY_ID.txt", "utf8");

export function traverseDirectory(dirPath, fileList = []) {
const files = fs.readdirSync(dirPath);
Expand Down

0 comments on commit 1e0060b

Please sign in to comment.