Wilken Rivera
4e58987026
command/fmt: Ensure all variable files ending in .pkrvars.hcl
get formatted (#10377)
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
```
2020-12-14 10:29:58 -05:00
..
2020-11-16 14:23:35 -08:00
2020-11-16 14:23:35 -08:00
2020-11-16 14:23:35 -08:00
2020-12-14 10:29:58 -05:00
2020-05-08 17:46:33 +02:00
2020-05-08 17:46:33 +02:00
2020-12-03 10:17:35 -08:00
2020-12-03 10:17:35 -08:00
2020-12-03 10:17:35 -08:00
2020-07-07 12:00:36 +02:00
2020-12-09 12:39:54 +01:00
2020-11-16 14:23:35 -08:00
2020-11-30 14:30:30 -08:00
2020-06-05 17:23:54 +02:00
2020-09-02 17:19:56 +02:00
2020-10-14 12:58:04 -07:00
2020-07-24 10:58:03 +02:00
2020-12-03 10:17:35 -08:00
2020-11-30 14:30:30 -08:00
2020-11-13 10:47:36 -08:00
2020-12-14 10:29:58 -05:00
2020-12-14 10:29:58 -05:00
2020-08-25 10:51:43 +02:00
2020-12-09 12:39:54 +01:00
2020-11-11 11:27:32 +01:00
2020-09-01 11:59:07 +02:00
2020-11-30 14:26:54 -08:00
2020-12-09 12:39:54 +01:00
2020-11-30 14:26:54 -08:00
2019-12-17 11:25:56 +01:00
2020-11-23 10:27:26 -05:00
2020-10-14 12:58:04 -07:00
2014-10-27 20:58:44 -07:00
2020-04-07 17:53:22 -04:00