Skip to content

Commit 7580f26

Browse files
ijemmysaragerion
andauthored
fix(metrics): Fix typos + grammar in a comment
Co-authored-by: Sara Gerion <47529391+saragerion@users.noreply.github.com>
1 parent 55b20ea commit 7580f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/metrics/src/Metrics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ class Metrics implements MetricsInterface {
392392

393393
private isNewMetric(name: string, unit: MetricUnit): boolean {
394394
if (this.storedMetrics[name]){
395-
// Inconsistent units indicates a bug or typos. We want to flag this to users early early
395+
// Inconsistent units indicates a bug or typos and we want to flag this to users early
396396
if (this.storedMetrics[name].unit !== unit) {
397397
throw new Error('The same metric name has been added before with a different unit.');
398398
}

0 commit comments

Comments
 (0)