fix render target board path containing "index"
gavin-ts opened this issue · comments
gavin-ts commented
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