Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Improve clarity in explanation by removing awkward 'normally', fixes #6723 #6724

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

wazum
Copy link
Contributor

@wazum wazum commented Nov 14, 2024

The Issue

How This PR Solves The Issue

Text change

@wazum wazum requested a review from a team as a code owner November 14, 2024 10:08
@@ -255,7 +255,7 @@ func runCommandWithSudo(args []string) (out string, err error) {
c = []string{"gsudo.exe"}
}
c = append(c, args...)
output.UserOut.Printf("DDEV needs to run with administrative privileges.\nThis is normally to add unresolvable hostnames to the hosts file.\nYou may be required to enter your password for sudo or allow escalation.\nDDEV is about to issue the command:\n %s\n", strings.Join(c, ` `))
output.UserOut.Printf("DDEV needs to run with administrative privileges.\nThis is needed to add unresolvable hostnames to the hosts file.\nYou may be required to enter your password for sudo or allow escalation.\nDDEV is about to issue the command:\n %s\n", strings.Join(c, ` `))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion!
However, using "needed" right after "needs" feels a bit repetitive.
I think it would be better with "necessary" or "typically" instead.

…ording

The text now states the purpose directly, which is clearer for users.
Copy link
Member

@rfay rfay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, seems ok to me.

@rfay
Copy link
Member

rfay commented Nov 14, 2024

Oh, please don't use master for PRs in your future PRs, as it ties you to your fork's default branch, making things difficult going forward. Use a named branch. We ask for YYYYMMDD_wazum_short_description for the branch name.

@rfay rfay merged commit 64e4e1e into ddev:master Nov 15, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants