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

CLI seems to fail when it encounters a space in the Path #356

Closed
vlad-ko opened this issue Jan 23, 2024 · 0 comments · Fixed by #357
Closed

CLI seems to fail when it encounters a space in the Path #356

vlad-ko opened this issue Jan 23, 2024 · 0 comments · Fixed by #357
Assignees

Comments

@vlad-ko
Copy link

vlad-ko commented Jan 23, 2024

A customer reported an issue with the upload, whenever the CLI finds a path in the file.
Path:
/path/dir/API Interface/somedir/file.js is failing as Directory <Interface/somedir/file.js> not found

@giovanni-guidini giovanni-guidini self-assigned this Jan 23, 2024
@codecov codecov deleted a comment from vlad-ko Jan 24, 2024
giovanni-guidini added a commit that referenced this issue Jan 24, 2024
Parsing of output of the `ls-files` commands was splitting paths with spaces.
It is literally the difference show below.

```python
>>> s = 'string space\nother line\n'
>>> s.split()
['string', 'space', 'other', 'line']
>>> s.split('\n')
['string space', 'other line', '']
```
closes: #356
giovanni-guidini added a commit that referenced this issue Jan 25, 2024
Parsing of output of the `ls-files` commands was splitting paths with spaces.
It is literally the difference show below.

```python
>>> s = 'string space\nother line\n'
>>> s.split()
['string', 'space', 'other', 'line']
>>> s.split('\n')
['string space', 'other line', '']
```
closes: #356
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 a pull request may close this issue.

2 participants