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

visudo-rs: Improve the error message #767

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

sylvestre
Copy link
Contributor

$ visudo-rs                                                                                                                                         
Come on... you can do better than that.

syntax error: expected parameter
syntax error: expected host name

What now? e(x)it without saving / (e)dit again:

"Come on... you can do better than that." is too informal

```
$ visudo-rs                                                                                                                                         
Come on... you can do better than that.

syntax error: expected parameter
syntax error: expected host name

What now? e(x)it without saving / (e)dit again:
```

"Come on... you can do better than that." too informal
@codecov
Copy link

codecov bot commented Sep 19, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.01% 🎉

Comparison is base (fbfbabd) 55.24% compared to head (84c00d1) 55.25%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #767      +/-   ##
==========================================
+ Coverage   55.24%   55.25%   +0.01%     
==========================================
  Files          72       72              
  Lines        9840     9840              
==========================================
+ Hits         5436     5437       +1     
+ Misses       4404     4403       -1     
Files Changed Coverage Δ
src/visudo/mod.rs 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@squell squell added the minor minor issue, PR without an issue label Sep 19, 2023
@pvdrz
Copy link
Collaborator

pvdrz commented Sep 19, 2023

I did this jokingly and absolutely forgot about it 😅

@pvdrz pvdrz added this pull request to the merge queue Sep 19, 2023
Merged via the queue into trifectatechfoundation:main with commit d106c4e Sep 19, 2023
15 checks passed
@sylvestre
Copy link
Contributor Author

@pvdrz no worries, I knew you could do better than this ;)

@sylvestre sylvestre deleted the patch-1 branch September 19, 2023 17:40
@pvdrz
Copy link
Collaborator

pvdrz commented Sep 19, 2023

🤣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor minor issue, PR without an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants