We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bb37f5 commit 5c9844bCopy full SHA for 5c9844b
.githooks/pre-commit
@@ -36,12 +36,14 @@ fi
36
37
if command_exists terraform-docs; then
38
pushd asset-account/terraform/stack-set
39
+ files="$files asset-account/terraform/stack-set/README.md"
40
+
41
terraform-docs markdown . --output-file README.md
42
popd
43
fi
44
45
if command_exists ./node_modules/.bin/prettier; then
- ./node_modules/.bin/prettier --ignore-unknown --write .
46
+ echo "$files" | xargs ./node_modules/.bin/prettier --ignore-unknown --write
47
48
49
# Add the modified/prettified files to staging
0 commit comments