aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorache <ache@ache.one>2017-11-24 05:56:47 +0100
committerache <ache@ache.one>2017-11-24 05:56:47 +0100
commit5b4bf6f7d0bf66dba5ec2459442386f418f724fb (patch)
tree13f3948b2d8e8898547d4fc539207db417166393 /app.js
parentInit commit (diff)
init commit
Diffstat (limited to 'app.js')
-rw-r--r--app.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/app.js b/app.js
index 1080a20..ed12659 100644
--- a/app.js
+++ b/app.js
@@ -15,7 +15,6 @@ const PLUGIN_NAME = 'remark-mermaid-simple';
function visitCodeBlock(ast, vFile) {
return visit(ast, 'code', (node, index, parent) => {
const { lang, value, position } = node;
- const destinationDir = getDestinationDir(vFile);
// If this codeblock is not mermaid, bail.
if (lang !== 'mermaid') {