This commit is contained in:
Anmol Sethi 2022-12-18 12:26:58 -08:00
parent 908ccaf50c
commit f7d63213c7
No known key found for this signature in database
GPG key ID: 25BC68888A99A8BA
2 changed files with 9 additions and 14 deletions

View file

@ -1,19 +1,14 @@
# Contributing # Contributing
<!-- toc --> <!-- toc -->
- <a href="#ci" id="toc-ci">CI</a>
- [CI](#ci) - <a href="#flow" id="toc-flow">Flow</a>
- [Flow](#flow) - <a href="#logistics" id="toc-logistics">Logistics</a>
- [Logistics](#logistics) - <a href="#dev" id="toc-dev">Dev</a>
- [Dev](#dev) - <a href="#content" id="toc-content">Content</a>
* [Content](#content) - <a href="#tests" id="toc-tests">Tests</a>
* [Tests](#tests) - <a href="#documentation" id="toc-documentation">Documentation</a>
+ [Running tests](#running-tests) - <a href="#questions" id="toc-questions">Questions</a>
+ [Chaos tests](#chaos-tests)
* [Documentation](#documentation)
* [Questions](#questions)
<!-- tocstop -->
## CI ## CI

View file

@ -244,7 +244,7 @@ func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, pad,
return svg, false, err return svg, false, err
} }
} else { } else {
if len(out) > 0 && out[len(out)-1] != '\n' { if len(out) > 0 && out[len(out)-1] != '\n' {
out = append(out, '\n') out = append(out, '\n')
} }
} }