Skip to content

Commit

Permalink
When running 'yarn generate' on windows times error "Cannot find modu…
Browse files Browse the repository at this point in the history
…le '/D:\IdeaProjects\ dolphinscheduler.com \config\docs\docs1-2-0.js" Delete '/' (#951)
  • Loading branch information
pinkfloyds committed Mar 1, 2024
1 parent ab5027e commit 0980f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ const parseDocsMenu = () => {
const filePath = path.join(sourcePath, doc);
const fileInfo = path.parse(filePath);
formateFile(filePath);
const fileContent = require(`/${filePath}`);
const fileContent = require(`${filePath}`);
const enUs = [];
const zhCn = [];

Expand Down

0 comments on commit 0980f3b

Please sign in to comment.