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

fix: executable name from path #2136

Merged

Conversation

ruben-arts
Copy link
Contributor

No description provided.

Comment on lines 184 to 188
#[derive(Debug, Error)]
pub enum ExecutableFromPathError {
#[error("Path does not contain a correct executable name: {0}")]
NoExecutableName(PathBuf),
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am fine with introducing a specific error for this, but maybe it could implement Diagnostics?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refactored it, now it doesn't use an error.

Copy link
Contributor

@Hofer-Julian Hofer-Julian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@Hofer-Julian Hofer-Julian enabled auto-merge (squash) September 25, 2024 09:54
@Hofer-Julian Hofer-Julian merged commit 33bab49 into prefix-dev:feature/pixi-global Sep 25, 2024
16 checks passed
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

Successfully merging this pull request may close these issues.

2 participants