Skip to content

chore(dependency): update to github.com/google/renameio/v2

Mikel requested to merge mikelolasagasti/glab-cli:renameio into main

Description

Updated renameio to v2 and added a new test to ensure correct permissions for config files creation, accounting for the renameio/v2 behavior that considers the process' umask for permissions.

https://github.com/google/renameio#major-changes-in-v2

How has this been tested?

Added a new test to check to ensure config files are created with 0600 permissions.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap

Merge request reports