-
Notifications
You must be signed in to change notification settings - Fork 78
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
NC | Config Dir Restructure #8279
NC | Config Dir Restructure #8279
Conversation
208e53c
to
d65e8f9
Compare
e1bac3e
to
516e256
Compare
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.
Adding comments on the file config_fs
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.
Adding additional comments.
src/test/unit_tests/jest_tests/test_nc_account_invalid_mkm_integration.test.js
Show resolved
Hide resolved
@romayalon, a question - after changing the file name to |
8249fbf
to
1f53a91
Compare
src/test/unit_tests/jest_tests/test_config_fs_backward_compatibility.test.js
Outdated
Show resolved
Hide resolved
@romayalon I understand that we need to add it, but for the existing config files we will not have to add it because a missing property there means account. |
97a94f7
to
34a348d
Compare
if (err.code === 'ENOENT') { | ||
dbg.warn(`delete_config_file: config file already deleted ${config_path}`); | ||
return; |
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.
Why doesn't it include the silent_if_missing
condition? (like we have in folder_delete
).
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.
as we discussed, we always want on this case to not fail if the config file is missing
Signed-off-by: Romy <[email protected]>
34a348d
to
e2285af
Compare
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
@romayalon
|
Explain the changes
This PR is based on @alphaprinz #8167 PR.
Issues: Fixed #xxx / Gap #xxx
Testing Instructions:
sudo npx jest --testRegex=jest_tests/test_config_fs_backward_compatibility.test.js