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: Treat an empty syncfolder as not configured #8

Merged

Conversation

knutwalker
Copy link
Contributor

My syncfolder is set to an empty string.
I believe I had sync configured once and removed the folder since,
leaving me with an empty string.

This PR ignores empty strings and treats them as unconfigured.
Without that PR, the workspaces folder would be resolved
relative to the current dir, leading to file-not-found errors down the line.

My `syncfolder` is set to an empty string.
I believe I had sync configured once and removed the folder since,
leaving me with an empty string.

This PR ignores empty strings and treats them as unconfigured.
Without that PR, the `workspaces` folder would be resolved
relative to the current dir, leading to file-not-found errors down the line.
@rossmacarthur rossmacarthur merged commit b71abd0 into rossmacarthur:trunk Sep 20, 2022
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