Skip to content

Commit f0d0f57

Browse files
committed
Fix typo in command to log pip-diff failure
The `pip-diff` tool from vendor/pip-pop is used to determine stale requirements. When `pip-diff` encounters an unexpected failure, a count is logged using `mcount` from heroku/buildpack-stdlib, and compilation is continued. Due to a typo, mount(8) was invoked instead of `mcount`, with an invalid argument. Under `set +e`, this error would abort compilation instead of continuing it.
1 parent 96ffc14 commit f0d0f57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/steps/pip-uninstall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then
1313

1414

1515
if ! pip-diff --stale requirements-declared.txt requirements.txt --exclude setuptools pip wheel > .heroku/python/requirements-stale.txt; then
16-
mount "failure.bad-requirements"
16+
mcount "failure.bad-requirements"
1717
fi
1818

1919
rm -fr requirements-declared.txt

0 commit comments

Comments
 (0)