Skip to content

Commit 92c9328

Browse files
authored
Fix calls to utils::abort_internal_error (#1648)
Since the function was renamed as part of namespacing the functions under `lib/`. These codepaths are only ever hit in the case of a buildpack ~enum inconsistency bug (they are the equivalent of Rust's `unreachable!`), so it's not possible to have tests for them.
1 parent 2a23f41 commit 92c9328

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/compile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ case "${PACKAGE_MANAGER}" in
192192
pipenv::install_pipenv
193193
;;
194194
*)
195-
abort_internal_error "Unhandled package manager"
195+
utils::abort_internal_error "Unhandled package manager"
196196
;;
197197
esac
198198
meta_time "package_manager_install_duration" "${package_manager_install_start_time}"
@@ -215,7 +215,7 @@ case "${PACKAGE_MANAGER}" in
215215
pipenv::install_dependencies
216216
;;
217217
*)
218-
abort_internal_error "Unhandled package manager"
218+
utils::abort_internal_error "Unhandled package manager"
219219
;;
220220
esac
221221
meta_time "dependencies_install_duration" "${dependencies_install_start_time}"

0 commit comments

Comments
 (0)