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 a3b5086 commit 6709997Copy full SHA for 6709997
src/requestTracing/utils.ts
@@ -213,7 +213,7 @@ function getNodeVersion(): string | undefined {
213
// Make it compatible with non-Node.js runtime
214
if (typeof process !== "undefined" && typeof process?.versions === "object") {
215
const version = process.versions.node;
216
- return version ? version.split('.')[0] : undefined;
+ return version ? version.split(".")[0] : undefined;
217
} else {
218
return undefined;
219
}
0 commit comments