Skip to content

Commit 9f6eaf3

Browse files
committed
resolving report_file
1 parent ff3fedd commit 9f6eaf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,15 @@ runs:
101101
if [[ '${{ inputs.reporter }}' == 'sarif' ]]
102102
then
103103
report_file=${GITHUB_WORKSPACE}/report.sarif
104-
DIKTAT_ARGS+=('--output' report_file)
105104
elif [[ '${{ inputs.reporter }}' == 'checkstyle' ]]
106105
then
107106
report_file=${GITHUB_WORKSPACE}/checkstyle-report.xml
108-
DIKTAT_ARGS+=('--output' report_file)
109107
else
110108
echo "`reporter` should be set to `sarif` or `checkstyle`"
111109
exit 1
112110
fi
111+
DIKTAT_ARGS+=('--output' '${report_file}')
112+
113113
if [[ '${{ inputs.debug }}' == 'true' ]]
114114
then
115115
DIKTAT_ARGS+=('--log-level' 'DEBUG')

0 commit comments

Comments
 (0)