Skip to content

Commit 50c6298

Browse files
committed
suggestion fix
Signed-off-by: Tom <yusencao@outlook.com>
1 parent 4930834 commit 50c6298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if [ -z "$GITHUB_ACTIONS" ]; then
3636
docker run --rm \
3737
-v "$PWD":/workspace \
3838
-w /workspace \
39-
--user root \
39+
--user "$(id -u):$(id -g)" \
4040
davidanson/markdownlint-cli2:v0.18.1 \
4141
markdownlint-cli2 --fix "**/*.md"
4242
fi

0 commit comments

Comments
 (0)