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

fix error when writing file with empty content #26

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Feb 20, 2020

  1. fix error when writing file with empty content

    Previously, attempting to write a local file with content of "" would set the resource Id to "", since the Id is based on a SHA1 of the content. This caused the file to be deleted during the apply step.
    The Id is now set to a constant "-" to make it clear that it is not significant.
    
    The ForceNew behaviour for content has been replaced with an Update function for more appropriate semantics.
    kmoe committed Feb 20, 2020
    Configuration menu
    Copy the full SHA
    c2ebc9d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a50f78 View commit details
    Browse the repository at this point in the history