better comment
This commit is contained in:
parent
c561de4856
commit
948c176ece
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -364,7 +364,7 @@ func renderPDF(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, ske
|
|||
}
|
||||
|
||||
var currBoardPath []string
|
||||
// is root board
|
||||
// Root board doesn't have a name, so we use the output filename
|
||||
if diagram.Name == "" {
|
||||
ext := filepath.Ext(outputPath)
|
||||
trimmedPath := strings.TrimSuffix(outputPath, ext)
|
||||
|
|
|
|||
Loading…
Reference in a new issue