We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f61a192 commit 76100b4Copy full SHA for 76100b4
rust/bear/src/modes/intercept.rs
@@ -11,6 +11,8 @@ use std::sync::mpsc::Receiver;
11
/// the intercepted command executions.
12
pub(super) struct BuildInterceptor {
13
environment: InterceptEnvironment,
14
+ #[allow(dead_code)]
15
+ service: CollectorService,
16
}
17
18
impl BuildInterceptor {
@@ -26,7 +28,10 @@ impl BuildInterceptor {
26
28
let environment = InterceptEnvironment::new(&config.intercept, &service)
27
29
.with_context(|| "Failed to create the intercept environment")?;
30
- Ok(Self { environment })
31
+ Ok(Self {
32
+ environment,
33
+ service,
34
+ })
35
36
37
/// Run the build command in the intercept environment.
0 commit comments