Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymVlasov committed Jul 4, 2022
1 parent eea6c00 commit 00926cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/terraform_validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ function per_dir_hook_unique_part {
exit_code=$?

if [ $exit_code -ne 0 ]; then
common::colorify "yellow" "'terraform init' failed, 'terraform validate' skipped: $dir_path"
echo "$init_output"
common::colorify "red" "'terraform init' failed, 'terraform validate' skipped: $dir_path"
common::colorify "red" "$init_output"
return $exit_code
fi
fi
Expand Down

0 comments on commit 00926cc

Please sign in to comment.