Skip to content

Commit

Permalink
add log when sample code wasnt found
Browse files Browse the repository at this point in the history
  • Loading branch information
marwie committed Jun 19, 2023
1 parent 03388c4 commit 3bef4c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions documentation/.vuepress/plugins/include-samples-code/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ const injectCodeSamples = async (md, options) => {

args[0] = before + insert + after;
}
else {
console.log(">>> SAMPLE CODE NOT FOUND", id, parsedCode)
}
}
const result = originalRender.apply(md, args);
return result;
Expand Down

0 comments on commit 3bef4c9

Please sign in to comment.