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"
|
||||
|
||||
grep `glide-hash` glide.lock
|
||||
if [ $? -eq 0 ]; then
|
||||
if grep -q "$(glide-hash)" glide.lock; then
|
||||
echo 'Congratulations! glide.lock is unchanged.'
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue