Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: strict equal
  • Loading branch information
dyladan committed Feb 26, 2021
commit 848c9969984e22c2cc79df1ce9ffc19d734e3905
2 changes: 1 addition & 1 deletion src/internal/global-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function registerGlobal<Type extends keyof OTelGlobalAPI>(
return;
}

if (api.version != VERSION) {
if (api.version !== VERSION) {
// All registered APIs must be of the same version exactly
const err = new Error(
'@opentelemetry/api: All API registration versions must match'
Expand Down