mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 15:41:02 -05:00
Running superlinter as a user not defined in /etc/passwd causes error messages (#4351)
* no need to run git check-ignore on every file if you are not setting IGNORE_GITIGNORED_FILES * use id instead of whoami for determining running and discard stderr * accidently include change from other PR * remove commented code --------- Co-authored-by: Zack Koppert <zkoppert@github.com>
This commit is contained in:
parent
dea6e50722
commit
35d5a3e9fb
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ function GetValidationInfo() {
|
|||
|
||||
debug "--- DEBUG INFO ---"
|
||||
debug "---------------------------------------------"
|
||||
RUNNER=$(whoami)
|
||||
RUNNER=$(id -un 2>/dev/null)
|
||||
debug "Runner:[${RUNNER}]"
|
||||
PRINTENV=$(printenv | sort)
|
||||
debug "ENV:"
|
||||
|
|
Loading…
Reference in a new issue