Skip to content

Commit

Permalink
Update pre-commit-hook.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mihirhasan committed Jul 30, 2021
1 parent a3610b6 commit 79c1fe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/pre-commit-hook.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -eo pipefail
PARAMS = "scan "
PARAMS="scan "

main() {
initialize_
Expand All @@ -22,7 +22,7 @@ terrascan_() {
#put arguments array into runnable string
for i in "${arr[@]}"
do
PARAMS= "${PARAMS} ${i}"
PARAMS="${PARAMS} ${i}"
done
echo $PARAMS
for path_uniq in $(echo "${paths[*]}" | tr ' ' '\n' | sort -u); do
Expand Down

0 comments on commit 79c1fe5

Please sign in to comment.