0
0
forked from toolshed/abra

refactor: use ; trick for inline checking [ci skip]

This commit is contained in:
2021-10-11 13:48:25 +02:00
parent 36ff50312c
commit 44dc0edf7b

View File

@ -111,8 +111,7 @@ or a rollback of an app.
} }
if tagstring != "" { if tagstring != "" {
_, err := tagcmp.Parse(tagstring) if _, err := tagcmp.Parse(tagstring); err != nil {
if err != nil {
logrus.Fatal("invalid tag specified") logrus.Fatal("invalid tag specified")
} }
} }