mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
Fixes use of md5 for tempfile name (#16)
This commit is contained in:
parent
091f8b15d7
commit
6b06683c0d
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ for file_with_path in "$@"; do
|
|||
let "index+=1"
|
||||
done
|
||||
|
||||
readonly tmp_file="tmp_$(date | md5).txt"
|
||||
readonly tmp_file=$(mktemp)
|
||||
readonly text_file="README.md"
|
||||
|
||||
for path_uniq in $(echo "${paths[*]}" | tr ' ' '\n' | sort -u); do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue