Commit dd4d8b8
committed
Workaround strings bug when generating function docs
Added a newline between the require statement and start of documentation
to work around puppetlabs/puppet-strings#296
To verify, run:
echo 'gem "puppet-strings"' >> Gemfile.local
bundle update
bundle exec puppet strings generate --format json --out /tmp/strings.json
jq -r '.puppet_functions[] | select(.name == "yaml_data").docstring.text ' /tmp/strings.json | head1 parent 82ad86e commit dd4d8b8
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments