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

Tilde folder name blocks backup #229

Open
wbt opened this issue May 18, 2023 · 1 comment
Open

Tilde folder name blocks backup #229

wbt opened this issue May 18, 2023 · 1 comment

Comments

@wbt
Copy link

wbt commented May 18, 2023

This package notes user settings available under the ~/.config/configstore directory.

If this package is used in an NPM project subsequently used by another project (incl. open-source for further contribution!) someone attempts to store in a Microsoft cloud system or use Microsoft backup for (e.g. OneDrive), the entire syncing process comes to a halting failure because it does not allow ~ in a valid filename.

While there are still other compatibility reasons to not use automated solutions like OneDrive to back up code directories, reducing the number of those would be a good thing and maybe help software developers as a community get to a place where code in development can be more easily backed up through common tools.

Thus, I would encourage changing the path to not have a ~ in it.

@sindresorhus
Copy link
Member

It doesn't actually use the tilde character. The tilde is short for the user's home directory.

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

No branches or pull requests

2 participants