Sort environment variables when printing debug info

This commit is contained in:
Marco Ferrari 2020-09-26 00:51:53 +02:00
parent a402c97ed6
commit d43fcdc666

View file

@ -212,7 +212,7 @@ function GetValidationInfo() {
debug "---------------------------------------------" debug "---------------------------------------------"
RUNNER=$(whoami) RUNNER=$(whoami)
debug "Runner:[${RUNNER}]" debug "Runner:[${RUNNER}]"
PRINTENV=$(printenv) PRINTENV=$(printenv | sort)
debug "ENV:" debug "ENV:"
debug "${PRINTENV}" debug "${PRINTENV}"
debug "---------------------------------------------" debug "---------------------------------------------"