Skip to content

Commit 5333b9e

Browse files
committed
diagram-generator: fix setting of paths
python_active_path can be nil, which does not work with stringify.
1 parent 649b812 commit 5333b9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

diagram-generator/diagram-generator.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ function Meta(meta)
8888
python_path = stringify(
8989
meta.python_path or meta.pythonPath or python_path
9090
)
91-
python_activate_path = stringify(
91+
python_activate_path =
9292
meta.activate_python_path or meta.activatePythonPath or python_activate_path
93-
)
93+
python_activate_path = python_activate_path and stringify(python_activate_path)
9494
java_path = stringify(
9595
meta.java_path or meta.javaPath or java_path
9696
)

0 commit comments

Comments
 (0)