Skip to content

Commit

Permalink
fix: file not found
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanshuyou committed Sep 4, 2024
1 parent 36fc0eb commit bf2f685
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 bf2f685

Please sign in to comment.