Skip to content

Commit f0ee38b

Browse files
committed
fix: code path for customizer fixed
1 parent c70f28e commit f0ee38b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export async function bootstrap<
111111
| undefined = undefined;
112112
if (customizer) {
113113
// Customize OTEL with a dynamic import based on the codePath (so put it in src, generally)
114-
otelCustomizer = (await import(`$(codePath}/${customizer}`)).NodeSDKConfiguration;
114+
otelCustomizer = (await import(`${codepath}/${customizer}`)).NodeSDKConfiguration;
115115
if (typeof otelCustomizer === 'object') {
116116
otelCustomizer = (v) => ({ ...v, ...(otelCustomizer as Partial<NodeSDKConfiguration>) });
117117
}

0 commit comments

Comments
 (0)