Skip to content

Commit 75df9d5

Browse files
committed
Update mdsf
1 parent 33be8f9 commit 75df9d5

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.ci.readme.fmt.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
# Verify that the code snippets in README.md are formatted.
44
# The tool https://github.com/hougesen/mdsf is used.
55

6-
if [ -n "$(mdsf verify --config .mdsf.json README.md 2>&1)" ]; then
6+
if [ -n "$(mdsf verify --config .mdsf.json --log-level error README.md 2>&1)" ]; then
77
echo "Go code in the README.md is not formatted."
88
echo "Did you forget to run 'mdsf format --config .mdsf.json README.md'?"
9+
mdsf format --config .mdsf.json README.md
10+
git diff
911
exit 1
1012
fi

.mdsf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/hougesen/mdsf/main/schemas/v0.4.1/mdsf.schema.json",
2+
"$schema": "https://raw.githubusercontent.com/hougesen/mdsf/main/schemas/v0.8.2/mdsf.schema.json",
33
"format_finished_document": false,
44
"languages": {
55
"go": [

0 commit comments

Comments
 (0)