summaryrefslogtreecommitdiff
path: root/cli/compilers/ts.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/compilers/ts.rs')
-rw-r--r--cli/compilers/ts.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/cli/compilers/ts.rs b/cli/compilers/ts.rs
index d0c0d87c0..a6ed8237d 100644
--- a/cli/compilers/ts.rs
+++ b/cli/compilers/ts.rs
@@ -257,10 +257,7 @@ impl TsCompiler {
.expect("Unable to create worker state");
// Count how many times we start the compiler worker.
- global_state
- .metrics
- .compiler_starts
- .fetch_add(1, Ordering::SeqCst);
+ global_state.compiler_starts.fetch_add(1, Ordering::SeqCst);
let mut worker = CompilerWorker::new(
"TS".to_string(),