Skip to content

Commit

Permalink
获取系统arm
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangming committed Nov 3, 2024
1 parent e3d6689 commit 7fec8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import-format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mkdir -p style_tool

cd style_tool

is_arm=$(/usr/bin/uname -m | grep "arm|aarch64" | wc -l)
is_arm=$(/usr/bin/uname -m | grep -E "arm|aarch64" | wc -l)
goimports_target_file="goimports-reviser_3.3.1_linux_amd64.tar.gz"

if [ "$(uname)" == "Darwin" ]; then
Expand Down

0 comments on commit 7fec8bf

Please sign in to comment.