File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/esbuild-plugin-node/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export function openTelemetryPlugin(
7575 if ( ! moduleVersion ) return ;
7676
7777 // See if we have an instrumentation registered for this package
78- const matchingInstrumentation = await getInstrumentation ( {
78+ const matchingInstrumentation = getInstrumentation ( {
7979 extractedModule,
8080 moduleVersion,
8181 path : args . path ,
@@ -230,15 +230,15 @@ async function getModuleVersion({
230230 return JSON . parse ( packageJsonContents . toString ( ) ) . version ;
231231}
232232
233- async function getInstrumentation ( {
233+ function getInstrumentation ( {
234234 extractedModule,
235235 path,
236236 moduleVersion,
237237} : {
238238 extractedModule : ExtractedModule ;
239239 path : string ;
240240 moduleVersion : string ;
241- } ) : Promise < InstrumentationModuleDefinition | null > {
241+ } ) : InstrumentationModuleDefinition | null {
242242 for ( const instrumentationModuleDefinition of instrumentationModuleDefinitions ) {
243243 const fullModulePath = `${ extractedModule . package } /${ extractedModule . path } ` ;
244244 const nameMatches =
You can’t perform that action at this time.
0 commit comments