Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't assume DEPOT_PATH is populated #58

Closed
KristofferC opened this issue May 10, 2024 · 4 comments
Closed

Don't assume DEPOT_PATH is populated #58

KristofferC opened this issue May 10, 2024 · 4 comments

Comments

@KristofferC
Copy link
Member

userfaces = joinpath(first(DEPOT_PATH), "config", "faces.toml")

will error on empty DEPOT_PATH

@tecosaur
Copy link
Collaborator

Ah, interesting. I assumed the DEPOT_PATH is always populated. Just not doing anything when this is the case seems like an obvious fix, but I'd be interested to know when this situation occurs.

@KristofferC
Copy link
Member Author

You can set the depot path with an env variable (and set it to be empty).

@tecosaur
Copy link
Collaborator

Ah right thanks, I'll just apply the change Jeff suggests and do nothing when that's the case then.

@tecosaur
Copy link
Collaborator

Closed by #59.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants