Files
docker-cli/cli/command
Sebastiaan van Stijn 78dbcca264 cli/command: PromptUserForCredentials: move trimming where it's used
- move trimming defaultUsername inside the if-branch, as it's the only
  location where the result of the trimmed username is use.
- do the reverse for trimming argUser, because the result of trimming
  argUser is used outside of the if-branch (not just for the condition).
  putting it inside the condition makes it easy to assume the result is
  only used locally.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit eda78e9cdc)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-13 23:32:41 +01:00
..
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2024-07-19 13:37:27 +02:00
2024-06-18 12:17:13 +02:00
2024-06-11 17:59:48 +02:00