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 55b20ea commit 7580f26Copy full SHA for 7580f26
packages/metrics/src/Metrics.ts
@@ -392,7 +392,7 @@ class Metrics implements MetricsInterface {
392
393
private isNewMetric(name: string, unit: MetricUnit): boolean {
394
if (this.storedMetrics[name]){
395
- // Inconsistent units indicates a bug or typos. We want to flag this to users early early
+ // Inconsistent units indicates a bug or typos and we want to flag this to users early
396
if (this.storedMetrics[name].unit !== unit) {
397
throw new Error('The same metric name has been added before with a different unit.');
398
}
0 commit comments