Thanks to visit codestin.com
Credit goes to github.com

Skip to content

False reports that an output file was updated successfully when the file write failed #724

Open
@timothy-mcroy

Description

@timothy-mcroy

Describe the bug

When running terraform-docs while the target file is read only, the tool will spit out
updated successfully
Error: open : Access is denied.

How can we reproduce it?

Set a file to readonly, then have terraform-docs attempt to write to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions