Merge pull request #1214 from timoreimann/avoid-validate-glide-output-suppression
Evaluate glide-hash result without reading $?.
This commit is contained in:
commit
a3beec6b9c
1 changed files with 1 additions and 2 deletions
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
source "$(dirname "$BASH_SOURCE")/.validate"
|
source "$(dirname "$BASH_SOURCE")/.validate"
|
||||||
|
|
||||||
grep `glide-hash` glide.lock
|
if grep -q "$(glide-hash)" glide.lock; then
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
echo 'Congratulations! glide.lock is unchanged.'
|
echo 'Congratulations! glide.lock is unchanged.'
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue