From 440b2793b57799217e19d6a3b9db722585fcc728 Mon Sep 17 00:00:00 2001 From: Bryce Cutt Date: Tue, 22 Jun 2021 17:33:35 -0700 Subject: [PATCH] fix for relative include support --- build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.js b/build.js index e352a9a..e3a05e2 100644 --- a/build.js +++ b/build.js @@ -143,7 +143,7 @@ const generateImages = async (tree, options, onImageGenerated) => { const plantuml = require('node-plantuml'); plantuml - .generate(path.join(item.dir, pumlFile), { format: options.DIAGRAM_FORMAT, charset: options.CHARSET }) + .generate(path.join(item.dir, pumlFile), { format: options.DIAGRAM_FORMAT, charset: options.CHARSET, include: item.dir }) .out .pipe(stream);