mirror of
https://github.com/docker/docker-credential-helpers.git
synced 2026-06-15 08:52:10 +05:30
ad253f54a5
Both NewShellProgramFunc and NewShellProgramFuncWithEnv were using createProgramCmdRedirectErr under the hood, but NewShellProgramFunc had an extra indirection through NewShellProgramFuncWithEnv. Make both a direct wrapper for createProgramCmdRedirectErr instead. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>