* Fix invalid syntax and missing context in check pip packages

* Update scripts/check_pip_packages.sh

Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>

---------

Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
This commit is contained in:
Kevin Meinhardt 2024-06-11 12:53:07 +02:00 коммит произвёл GitHub
Родитель 6add96eac5
Коммит 215d96a43e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -70,14 +70,14 @@ function check_package() {
actual_name=$(get_package_name $actual_package)
if [ "$expected_name" != "$actual_name" ]; then
fail "Package $expected_package is missing."
fail "Package missing. Expected ${expected_name}. Received ${actual_name}"
fi
expected_version=$(get_package_version $expected_package)
actual_version=$(get_package_version $actual_package)
if [ "$expected_version" != "$actual_version" ]; then
fail "Package $package_name has version $actual_version, expected $expect_version"
fail "Package $expected_package has version $actual_version, expected $expected_version"
fi
}