fix non-ascii in json func
This commit is contained in:
parent
02d234be3f
commit
c5cd1726dd
@ -2,7 +2,7 @@
|
|||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
if [ -t 0 ]; then
|
if [ -t 0 ]; then
|
||||||
echo "${@}" | python -m json.tool
|
echo "${@}" | python3 -m json.tool --no-ensure-ascii
|
||||||
else
|
else
|
||||||
python -m json.tool
|
python3 -m json.tool --no-ensure-ascii
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user