Fix-pip-packages (#22344)
* 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:
Родитель
6add96eac5
Коммит
215d96a43e
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче