File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ pub fn run_metrics() -> Result<()> {
1818
1919 {
2020 let _d = pushd ( "target" ) ;
21- let api_token = env:: var ( "METRICS_TOKEN" ) . unwrap ( ) ;
22- let repo = format ! ( "https://{}@github.com/rust-analyzer/metrics.git" , api_token ) ;
21+ let metrics_token = env:: var ( "METRICS_TOKEN" ) . unwrap ( ) ;
22+ let repo = format ! ( "https://{}@github.com/rust-analyzer/metrics.git" , metrics_token ) ;
2323 run ! ( "git clone --depth 1 {}" , repo) ?;
2424 let _d = pushd ( "metrics" ) ;
2525
@@ -39,7 +39,7 @@ impl Metrics {
3939 rm_rf ( "./target/release" ) ?;
4040
4141 let build = Instant :: now ( ) ;
42- // run!("cargo build --release --package rust-analyzer --bin rust-analyzer")?;
42+ run ! ( "cargo build --release --package rust-analyzer --bin rust-analyzer" ) ?;
4343 let build = build. elapsed ( ) ;
4444 self . report ( "build" , build. as_millis ( ) as u64 , "ms" ) ;
4545 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments