Merge pull request #771 from ferrarimarco/sort-env

Sort environment variables when printing debug info
This commit is contained in:
Lukas Gravley 2020-09-28 08:34:39 -05:00 committed by GitHub
commit 0ed58d58d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 "---------------------------------------------"