mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-17 04:38:19 +01:00
16 lines
331 B
Bash
Executable File
16 lines
331 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
|