Skip to content

Commit 9e1c59f

Browse files
brizentalbadboy
andauthored
Apply suggestions from code review
Co-authored-by: Jan-Erik Rediger <badboy@archlinux.us>
1 parent 4278377 commit 9e1c59f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

glean/src/core/context.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ export class Context {
4848
// Whether or not Glean is in testing mode.
4949
private _testing = false;
5050
// A map of metric types and their constructors.
51-
// This map is dinamically filled everytime a metric type is constructed.
51+
// This map is dynamically filled everytime a metric type is constructed.
5252
//
53-
// If a metric is not on this map it cannot be serialized from the database.
53+
// If a metric is not in this map it cannot be deserialized from the database.
5454
private _supportedMetrics: {
5555
[type: string]: new (v: unknown) => Metric<JSONValue, JSONValue>
5656
} = {};

glean/src/core/glean.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ namespace Glean {
458458
uploadEnabled = true,
459459
config?: ConfigurationInterface
460460
): Promise<void> {
461-
// Core metrics need tp be re-initialized so that
461+
// Core metrics need to be re-initialized so that
462462
// the supportedMetrics map is re-created.
463463
coreMetrics = new CoreMetrics();
464464

0 commit comments

Comments
 (0)