mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Try alternative syntax to make codacy happy
The codacy issue "$/${} is unnecessary on arithmetic variables" seems to not apply to $(echo $((1 + $RANDOM % 10))), but we try another syntax to make her happy.
This commit is contained in:
parent
27a4a31dcc
commit
d580e77bf8
@ -113,7 +113,7 @@ while : ; do
|
||||
printbreak
|
||||
sleeptraced 3
|
||||
|
||||
RANDOM_WAIT=$(echo $((1 + $RANDOM % 10)))
|
||||
RANDOM_WAIT=$(echo $[$RANDOM % 10 + 1])
|
||||
printdate "Bob will take Alice's offer in $RANDOM_WAIT seconds..."
|
||||
sleeptraced "$RANDOM_WAIT"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user