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
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
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 "---------------------------------------------"