summaryrefslogtreecommitdiff
path: root/cli/js/metrics.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/metrics.ts')
-rw-r--r--cli/js/metrics.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/js/metrics.ts b/cli/js/metrics.ts
index 90c99ff89..b735dc6b3 100644
--- a/cli/js/metrics.ts
+++ b/cli/js/metrics.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-import * as dispatch from "./dispatch.ts";
import { sendSync } from "./dispatch_json.ts";
export interface Metrics {
@@ -24,5 +23,5 @@ export interface Metrics {
* └──────────────────┴────────┘
*/
export function metrics(): Metrics {
- return sendSync(dispatch.OP_METRICS);
+ return sendSync("op_metrics");
}