Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Improve error message when directory path is passed instead of file#124

Open
srimajaya123-blip wants to merge 1 commit into
Textualize:mainTextualize/rich-cli:mainfrom
srimajaya123-blip:fix-directory-errorsrimajaya123-blip/rich-cli:fix-directory-errorCopy head branch name to clipboard
Open

Improve error message when directory path is passed instead of file#124
srimajaya123-blip wants to merge 1 commit into
Textualize:mainTextualize/rich-cli:mainfrom
srimajaya123-blip:fix-directory-errorsrimajaya123-blip/rich-cli:fix-directory-errorCopy head branch name to clipboard

Conversation

@srimajaya123-blip

Copy link
Copy Markdown

Currently running:

rich .

produces a Permission denied error because the path is a directory.

This PR adds a check to detect when the provided path is a directory
and shows a clearer error message instead.

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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.