fmt
This commit is contained in:
parent
908ccaf50c
commit
f7d63213c7
2 changed files with 9 additions and 14 deletions
|
|
@ -1,19 +1,14 @@
|
|||
# Contributing
|
||||
|
||||
<!-- toc -->
|
||||
|
||||
- [CI](#ci)
|
||||
- [Flow](#flow)
|
||||
- [Logistics](#logistics)
|
||||
- [Dev](#dev)
|
||||
* [Content](#content)
|
||||
* [Tests](#tests)
|
||||
+ [Running tests](#running-tests)
|
||||
+ [Chaos tests](#chaos-tests)
|
||||
* [Documentation](#documentation)
|
||||
* [Questions](#questions)
|
||||
|
||||
<!-- tocstop -->
|
||||
- <a href="#ci" id="toc-ci">CI</a>
|
||||
- <a href="#flow" id="toc-flow">Flow</a>
|
||||
- <a href="#logistics" id="toc-logistics">Logistics</a>
|
||||
- <a href="#dev" id="toc-dev">Dev</a>
|
||||
- <a href="#content" id="toc-content">Content</a>
|
||||
- <a href="#tests" id="toc-tests">Tests</a>
|
||||
- <a href="#documentation" id="toc-documentation">Documentation</a>
|
||||
- <a href="#questions" id="toc-questions">Questions</a>
|
||||
|
||||
## CI
|
||||
|
||||
|
|
|
|||
2
main.go
2
main.go
|
|
@ -244,7 +244,7 @@ func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, pad,
|
|||
return svg, false, err
|
||||
}
|
||||
} else {
|
||||
if len(out) > 0 && out[len(out)-1] != '\n' {
|
||||
if len(out) > 0 && out[len(out)-1] != '\n' {
|
||||
out = append(out, '\n')
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue