Files
docker-cli/cli/command
Sebastiaan van Stijn eda78e9cdc 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>
2024-10-19 12:07:51 +02:00
..
2024-07-04 01:35:12 +02:00
2024-10-10 17:00:43 +02:00
2024-06-18 12:17:13 +02:00
2024-06-11 17:59:48 +02:00