This project is mirrored from https://gitee.com/NQL886/packer.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 14 Dec, 2020 1 commit
    • Wilken Rivera's avatar
      command/fmt: Ensure all variable files ending in `.pkrvars.hcl` get formatted (#10377) · 4e589870
      Wilken Rivera authored
      Before change
      ```
      ⇶  packer fmt -check /tmp/unformatted.pkrvars.hcl
      Error: Cannot tell whether /tmp/unformatted.pkrvars.hcl contains HCL2 configuration data
      
      ⇶  echo $?
      1
      ```
      
      After fix
      ```
      ⇶  packer fmt -check /tmp/unformatted.pkrvars.hcl
      /tmp/unformatted.pkrvars.hcl
      
      ⇶  echo $?
      3
      
      ⇶  packer fmt -check command/test-fixtures/fmt
      command/test-fixtures/fmt/unformatted.pkr.hcl
      command/test-fixtures/fmt/unformatted.auto.pkrvars.hcl
      command/test-fixtures/fmt/unformatted.pkrvars.hcl
      
      ```
      4e589870