Skip to content

Commit

Permalink
Fix issue with sdk version format (#1140)
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorhdzg committed May 8, 2023
1 parent a5ea0d1 commit a005c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logs/logHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class LogHandler {
this._console.enable(this._config.logInstrumentations);

const { node } = process.versions;
let nodeVersion = node.split(".");
let [nodeVersion] = node.split(".");
let opentelemetryVersion = SDK_INFO[SemanticResourceAttributes.TELEMETRY_SDK_VERSION];
let prefix = process.env["AZURE_MONITOR_AGENT_PREFIX"]
? process.env["AZURE_MONITOR_AGENT_PREFIX"]
Expand Down

0 comments on commit a005c28

Please sign in to comment.