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

chore(internal/aliasfix): properly truncate and backup files #6637

Merged
merged 1 commit into from Sep 8, 2022

Commits on Sep 8, 2022

  1. chore(internal/aliasfix): properly truncate and backup files

    - Use os.Create to truncate existing file if needed
    - Use named imports to capture error
    - Create a bak incase anything goes wrong. We don't want to delete
      peoples code :)
    codyoss committed Sep 8, 2022
    Copy the full SHA
    641e3e6 View commit details
    Browse the repository at this point in the history