Skip to content
Snippets Groups Projects
Commit 65955e9e authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[scripts.pixi] Improve error message when out of project directory

parent 91c4d208
No related branches found
No related tags found
No related merge requests found
......@@ -122,6 +122,10 @@ def pixi(
import tomli
pyproject = tomli.load(pyproject.open("rb"))
else:
raise click.ClickException(
f"Cannot find `pyproject.toml` at directory `{str(project_dir)}`"
)
# build output TOML pixi file
config = {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment