GovDataOfficial / plantuml-to-ontology

Takes an extended PlantUML file and converts it into another representation.
GNU Affero General Public License v3.0
0 stars 0 forks source link

Output path must exists #1

Closed tursics closed 1 year ago

tursics commented 1 year ago

The output folder must exists. Otherwise the error Error: ENOENT: no such file or directory, open '/Users/thomastursics/github/plantuml-to-ontology/output/analyse.md'will be shown.

Expected: The output folder will be created if not exists.

Steps to reproduce: 1) delete folder /output 2) run the example node p2o.js examples/dcat-ap-de.plantuml

tursics commented 1 year ago

Same with command node p2o.js examples/mini.plantuml analyse and node p2o.js examples/mini.plantuml json

init-dcat-ap-de commented 1 year ago

Highlighted this fact in README:

The output directory must already exist, it will not be created by the tool.