diff --git a/lib/main.sh b/lib/main.sh index f301ed0..8270605 100644 --- a/lib/main.sh +++ b/lib/main.sh @@ -49,7 +49,7 @@ function run() { # to how output formatting works. if [[ -n "${OUTPUT_FORMAT}" ]]; then OUTPUT=$(eval "${HADOLINT_PATH}" --no-fail --no-color "${CONFIG}" -f "${OUTPUT_FORMAT}" "${DOCKERFILE}") - echo "hadolint_output=${OUTPUT//$'\n'/'%0A'} >> ${GITHUB_OUTPUT}" + echo hadolint_output="${OUTPUT//$'\n'/'%0A'}" >> "${GITHUB_OUTPUT}" fi # Eval to remove empty vars