Skip to content

Commit a476b26

Browse files
Correct the "Skipping instrumentation" log
1 parent 1608fe8 commit a476b26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/esbuild-plugin-node/src/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export function wrapModule(
5656
if (instrumentation.files?.length) {
5757
for (const file of instrumentation.files.filter(f => f.name === '${path}')) {
5858
if (!file.supportedVersions.some(v => satisfies('${moduleVersion}', v))) {
59-
diag.debug('Skipping instrumentation for ' + path + '@' + moduleVersion + ' because it does not match supported versions' + f.supportedVersions.join(','));
59+
diag.debug('Skipping instrumentation for ${path}@${moduleVersion} because it does not match supported versions ' + file.supportedVersions.join(','));
6060
continue;
6161
}
6262
mod = file.patch(mod, '${moduleVersion}');

0 commit comments

Comments
 (0)