-
Notifications
You must be signed in to change notification settings - Fork 6
fix(settings): prevent overwrites #46
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
base: master
Are you sure you want to change the base?
Conversation
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
| pleaseLoginStatusBar.tooltip = 'Socket Security needs to login for full functionality' | ||
| pleaseLoginStatusBar.command = `${EXTENSION_PREFIX}.login` | ||
|
|
||
| let defaultSettingsPath = path.join(dataHome, 'socket', 'settings') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is throwing errors if there exists a directory called settings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there shouldn't be a directory called that, did something make that a directory? technically, we should "own" that directory according to the various OS conventions, so if we don't see it in the wild we should leave this for now as I'm not going to be defensive; can't delete existing user stuff so error seems apt
Probably need to pin some of these deps to when it is still MIT. |
bmeck
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM lets cut a release after this lands
|
The license policy is ok for now; adding exception |
👍 I don't have permission to merge, but I think this is good to go. I didn't see any tests in this repo. |
Fixed an issue in which the apiKey is over writing other fields in the settings config