Skip to content

Commit

Permalink
fix: calculate bentofile path against cwd if given explicitly (#5123)
Browse files Browse the repository at this point in the history
* fix: calculate bentofile path against cwd if given explicitly

Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming authored Dec 12, 2024
1 parent 430328a commit c3c8427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bentoml/bentos.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def build_bentofile(
"""
if bentofile:
try:
bentofile = resolve_user_filepath(bentofile, build_ctx)
bentofile = resolve_user_filepath(bentofile, None)
except FileNotFoundError:
raise InvalidArgument(f'bentofile "{bentofile}" not found')
else:
Expand Down

0 comments on commit c3c8427

Please sign in to comment.