mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
feat: support openim prom enbels
Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
parent
e9e831212e
commit
8316fa31b6
@ -36,13 +36,13 @@ openim::util::trap_add "git worktree remove -f ${_tmpdir}" EXIT
|
|||||||
cd "${_tmpdir}"
|
cd "${_tmpdir}"
|
||||||
|
|
||||||
# Format YAML files
|
# Format YAML files
|
||||||
hack/update-yamlfmt.sh
|
srcipts/update-yamlfmt.sh
|
||||||
|
|
||||||
# Test for diffs
|
# Test for diffs
|
||||||
diffs=$(git status --porcelain | wc -l)
|
diffs=$(git status --porcelain | wc -l)
|
||||||
if [[ ${diffs} -gt 0 ]]; then
|
if [[ ${diffs} -gt 0 ]]; then
|
||||||
echo "YAML files need to be formatted" >&2
|
echo "YAML files need to be formatted" >&2
|
||||||
git diff
|
git diff
|
||||||
echo "Please run 'hack/update-yamlfmt.sh'" >&2
|
echo "Please run 'srcipts/update-yamlfmt.sh'" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
Loading…
x
Reference in New Issue
Block a user