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

Report missing file path properly #7266

Merged
merged 1 commit into from Jan 2, 2022
Merged

Report missing file path properly #7266

merged 1 commit into from Jan 2, 2022

Conversation

simPod
Copy link
Contributor

@simPod simPod commented Jan 2, 2022

If the file at the path is missing, realpath gives false. It makes no sense to try to put it into error message then. It's better to use prospective_file_path instead.

If the file at the path is missing, `realpath` gives `false`. It makes no sense to try to put it into error message then. It's better to use `prospective_file_path` instead.
@weirdan weirdan added the release:fix The PR will be included in 'Fixes' section of the release notes label Jan 2, 2022
@weirdan weirdan merged commit 216cf6c into vimeo:4.x Jan 2, 2022
@weirdan
Copy link
Collaborator

weirdan commented Jan 2, 2022

Thanks!

@simPod simPod deleted the missing branch January 2, 2022 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix The PR will be included in 'Fixes' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants