-
Notifications
You must be signed in to change notification settings - Fork 32
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
513 update file tree tome to default exclude extraneous dirs #518
513 update file tree tome to default exclude extraneous dirs #518
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #518 +/- ##
==========================================
+ Coverage 70.52% 70.56% +0.03%
==========================================
Files 126 126
Lines 9591 9587 -4
==========================================
+ Hits 6764 6765 +1
+ Misses 2681 2676 -5
Partials 146 146 ☔ View full report in Codecov by Sentry. |
implants/lib/eldritch/src/runtime.rs
Outdated
@@ -28,7 +28,7 @@ use std::time::Duration; | |||
*/ | |||
#[derive(ProvidesStaticType)] | |||
pub struct Runtime { | |||
stdout_reporting: bool, | |||
pub stdout_reporting: bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't need to be pub, see with_stdout_reporting
Ok(response) => (0, response), | ||
Err(error) => { | ||
eprint!("failed to execute tome {:?}", error); | ||
(-1, Vec::new()) | ||
} | ||
}; | ||
|
||
if !result.is_empty() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should just print without the :?
, that might avoid escaping strings and then we can get rid of the with_stdout_reporting
API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to keep the with_stdout_reporting
API.
If the tome crashes no output gets printed making it very hard to debug.
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Remove unused output from file tree output.
Output is now:
Instead of:
Which issue(s) this PR fixes:
Fixes #513
Fixes #517