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

fix render target board path containing "index" #1760

Closed
gavin-ts opened this issue Dec 7, 2023 · 0 comments · Fixed by #1764
Closed

fix render target board path containing "index" #1760

gavin-ts opened this issue Dec 7, 2023 · 0 comments · Fixed by #1764
Assignees
Labels
bug Something isn't working

Comments

@gavin-ts
Copy link
Contributor

gavin-ts commented Dec 7, 2023

if board path is "index/layerA" or "layers/index" Diagram.GetBoard will not work correctly here:

https://github.com/terrastruct/d2/blob/master/d2target/d2target.go#L82

@gavin-ts gavin-ts added the bug Something isn't working label Dec 7, 2023
@gavin-ts gavin-ts self-assigned this Dec 7, 2023
@cyborg-ts cyborg-ts added this to D2 Dec 7, 2023
@github-project-automation github-project-automation bot moved this to Done in D2 Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant