-
Notifications
You must be signed in to change notification settings - Fork 2
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
general improvements #14
base: main
Are you sure you want to change the base?
general improvements #14
Conversation
chassing
commented
Feb 14, 2025
- ⬆️ Python 3.12
- 🚨 fix shellcheck errors
- ✨ hooks: add post_output
- ✨ terraform-provider-sync script
- VARIABLES_TF_JSON_FILE, VARIABLES_TF_FILE env vars
@@ -63,16 +66,16 @@ fi | |||
|
|||
|
|||
function validate_generate_tf_config() { | |||
local F_PATH=$(command -v generate-tf-config) | |||
F_PATH=$(command -v generate-tf-config) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
local variables are good...
F_PATH=$(command -v generate-tf-config) | |
local f_path | |
f_path=$(command -v generate-tf-config) |
@@ -1,4 +1,5 @@ | |||
#!/usr/bin/env bash | |||
# shellcheck disable=SC2155 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've had issues with this in the past... it's not a good idea when using set -e
. I don't recommend it. I know that it makes a bit clumsy to declare locals or export variables, but it's a good check to have.