Skip to content

Commit

Permalink
Update hcl2json to version 0.6.4 (#10952)
Browse files Browse the repository at this point in the history
Update hcl2json to version `0.6.4` (#10952)
  • Loading branch information
Zawadidone authored Nov 19, 2024
1 parent 8f037cf commit 1dc68ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions terraform/helpers/build
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ fi

os="$(uname -s | tr '[:upper:]' '[:lower:]')"

hcl2json_checksum="24068f1e25a34d8f8ca763f34fce11527472891bfa834d1504f665855021d5d4"
hcl2json_url="https://github.com/tmccombs/hcl2json/releases/download/v0.3.3/hcl2json_${os}_amd64"
hcl2json_checksum="8da5a86b3caff977067c62dd190bfdf296842191b0282c7e3a7019d6cf0f6657"
hcl2json_url="https://github.com/tmccombs/hcl2json/releases/download/v0.6.4/hcl2json_${os}_amd64"
hcl2json_path="$install_dir/bin/hcl2json"
curl -sSLfo "$hcl2json_path" "$hcl2json_url"
echo "$hcl2json_checksum $hcl2json_path" | sha256sum -c
Expand Down
5 changes: 3 additions & 2 deletions terraform/spec/dependabot/terraform/file_parser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@
it "raises an error" do
expect { dependencies }.to raise_error(Dependabot::DependencyFileNotParseable) do |boom|
expect(boom.message).to eq(
"Failed to convert file: parse config: [:18,1-1: Argument or block definition required; " \
"An argument or block definition is required here.]"
"Failed to convert file: parse config: [STDIN:1,17-18: Unclosed configuration block; " \
"There is no closing brace for this block before the end of the file. " \
"This may be caused by incorrect brace nesting elsewhere in this file.]"
)
end
end
Expand Down

0 comments on commit 1dc68ee

Please sign in to comment.