Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create export directory before writing into it #160

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

jp7677
Copy link
Contributor

@jp7677 jp7677 commented Mar 1, 2023

This fixes a FileNotFoundException when the export directory didn't exists before serving the site in live mode.

Same as https://github.com/avisi-cloud/structurizr-site-generatr/blob/main/src/main/kotlin/nl/avisi/structurizr/site/generatr/GenerateSiteCommand.kt#L58

I guess before #154 this was created implicitly somewhere when generating the diagrams.

This fixes a FileNotFoundException when the export directory didn't
exists before serving the site in live mode.
@jp7677
Copy link
Contributor Author

jp7677 commented Mar 1, 2023

This addresses #159

@dirkgroot dirkgroot merged commit f9a0f58 into avisi-cloud:main Mar 1, 2023
@jp7677 jp7677 deleted the create-export-directory branch March 5, 2023 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants