Closed sosheskaz closed 6 months ago
Before copying ~/.aws/config to the temp file, make sure that it exists, even if only as an empty file.
~/.aws/config
Without this change, if ~/.aws/config does not exist, sync fails with:
$ dgranted registry sync [✘] failed to copy aws config to tempfile for update
Delete ~/.aws/config and run sync. Before, it failed. Now, it succeeds.
Yes
What changed?
Before copying
~/.aws/config
to the temp file, make sure that it exists, even if only as an empty file.Why?
Without this change, if
~/.aws/config
does not exist, sync fails with:How did you test it?
Delete ~/.aws/config and run sync. Before, it failed. Now, it succeeds.
Potential risks
Is patch release candidate?
Yes
Link to relevant docs PRs