Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfkcel authored Feb 13, 2023
1 parent c3a8d71 commit e9a7d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class Build{
});
return result;
})();
if(regMarkdownPluginsStr && config.highlight.length){
if(regMarkdownPluginsStr !== ''){
markdownIndexStr = fs.readFileSync(markdownIndex,'utf8');
markdownIndexStr = markdownIndexStr.replace(/\/\/@regMarkdownPlugins/g,regMarkdownPluginsStr);
fs.writeFileSync(markdownIndex,markdownIndexStr);
Expand Down

0 comments on commit e9a7d05

Please sign in to comment.