mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-20 14:18:16 +01:00
15 lines
326 B
Bash
Executable File
15 lines
326 B
Bash
Executable File
#!/bin/bash
|
|
treshold=180
|
|
|
|
number=$(yarn outdated | wc -l)
|
|
|
|
echo outdated packages treshold $treshold
|
|
|
|
if [ $number -gt $treshold ]
|
|
then
|
|
echo number of outdated packages [$number] is over treshold [$treshold]. consider updating.
|
|
exit 1
|
|
fi
|
|
|
|
echo number of outdated packages [$number] is below treshold [$treshold]
|
|
exit 0 |