check_style: Always use a newly created temporary file to store logs

This commit is contained in:
Kamil Śliwak 2021-01-15 20:55:35 +01:00
parent 055c4b4d44
commit 5958e8d9ea
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash
ERROR_LOG="$(mktemp -t check_style_XXXXXX.log)"
. scripts/report_errors.sh
EXCLUDE_FILES=(

View File

@ -1,7 +1,5 @@
#!/usr/bin/env bash
export ERROR_LOG="/tmp/error.log"
function report_error_to_github
{
if [ $? -eq 0 ]