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

Raise error when filename has spaces #130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

parham-k
Copy link
Member

@parham-k parham-k commented Nov 6, 2024

Addresses #129

Attempted to fix by:

  • putting the path in quotes interprets input as two files with one starting with quotes and the other ending with one.
  • adding a backslash before each space, similar to quotes, interprets one file ending with \
  • using std::filesystem::exists instead of stat and std::filesystem::path(source_path).u8string(), no change

Added a check_error for this case to provide user with a verbose error message.

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